|
1 | | -version: '3.8' |
| 1 | +# Louis BAYLE, 2023-10-22 |
| 2 | +# ==================================================== |
| 3 | +# Run with docker-compose: |
| 4 | +# |
| 5 | +# mkdir -p /data/docker |
| 6 | +# cd /data/docker |
| 7 | +# git clone https://github.com/lbayle/codev.git codevtt |
| 8 | +# wget https://raw.githubusercontent.com/lbayle/codev/master/doc/docker/docker-compose.dev8.yml |
| 9 | +# wget https://raw.githubusercontent.com/lbayle/codev/master/doc/docker/mantis_codevtt_freshInstall.sql |
| 10 | +# docker-compose -f docker-compose.dev8.yml up -d |
| 11 | +# docker exec -i docker-mariadb-1 mysql -uroot -pmy_password --force bugtracker < mantis_codevtt_freshInstall.sql |
2 | 12 |
|
3 | | -# --- docker-compose.dev.yml --- |
4 | | -# This docker-compose file mounts a dev environment for CodevTT |
5 | | -# 1) you have cloned CodevTT localy from git@gitlab.com:lbayle/codevtt.git |
6 | | -# 2) it assumes that you have already build an image of mantis/codevtt with |
7 | | -# https://gitlab.com/lbayle/codevtt/-/blob/master/doc/docker/Dockerfile_dev8 |
| 13 | +version: '3.8' |
8 | 14 |
|
9 | 15 | services: |
10 | | -# --------------------------------------------------------- |
| 16 | + # --------------------------------------------------------- |
11 | 17 | # docker exec -i mariadb-codevtt mariadb -uroot -pmy_password --force bugtracker < mantis_codevtt_freshInstall.sql |
12 | 18 | mariadb: |
13 | 19 | image: mariadb:latest |
@@ -49,11 +55,14 @@ services: |
49 | 55 | volumes: |
50 | 56 | - /data/docker/mantis-codevtt/logs-httpd:/var/log/httpd/ |
51 | 57 | - /data/docker/mantis-codevtt/logs:/tmp/codevtt/logs |
| 58 | + - /data/docker/mantis-codevtt/mantis/uploaded_files:/var/www/html/mantis/uploaded_files |
52 | 59 | - /data/docker/mantis-codevtt/mantis/config:/var/www/html/mantis/config |
53 | 60 | - /data/docker/mantis-codevtt/mantis/plugins:/var/www/html/mantis/plugins |
54 | | - - /data/docker/mantis-codevtt/mantis/uploaded_files:/var/www/html/mantis/uploaded_files |
55 | | - # Development: CodevTT src code is not in the container to be easily accessed by IDE & git |
| 61 | +# - /data/docker/mantis-codevtt/codevtt/config:/var/www/html/codevtt/config |
| 62 | + |
| 63 | +# Development: CodevTT & MantisBT src code are not in the container to be easily accessed by IDE & git |
56 | 64 | - /data/docker/mantis-codevtt/codevtt:/var/www/html/codevtt |
| 65 | + # - /data/docker/mantis-codevtt/mantis/var/www/html/mantis |
57 | 66 |
|
58 | 67 | # --------------------------------------------------------- |
59 | 68 | phpmyadmin: |
@@ -81,4 +90,3 @@ networks: |
81 | 90 | driver: bridge |
82 | 91 |
|
83 | 92 | # end. |
84 | | - |
|
0 commit comments