@@ -34,6 +34,15 @@ Please be aware that you need **double quotes** around your variables in order f
3434
3535Please check the :ref: `environment variables <docker-environment-variables >` to know what they stand for.
3636
37+ The Volumes
38+ ```````````
39+
40+ We're going to mount tuleap as a Filesystem mountpoint instead of a typical Docker volume :
41+ - It eases configuration manipulation
42+ - It allows a better Disk space management
43+ - It allows easier Migration / Disaster Recovery if needed
44+ - It allows easier backups
45+ - There are no significant performance drop on Linux
3746
3847Tuleap Community
3948`````````````````
@@ -58,7 +67,7 @@ Then create a ``compose.yaml`` file with following content:
5867 - " 443:443"
5968 - " 22:22"
6069 volumes :
61- - tuleap-data:/data
70+ - /srv/tuleap/ tuleap-data:/data
6271 depends_on :
6372 - db
6473 environment :
@@ -70,17 +79,14 @@ Then create a ``compose.yaml`` file with following content:
7079 - DB_ADMIN_PASSWORD=${MYSQL_ROOT_PASSWORD}
7180
7281 # This is for test purpose only. It's not advised to run a production database as a docker container
73- db :
82+ mysql :
7483 image : mysql:8.0
7584 command : ["--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci", "--sql-mode=NO_ENGINE_SUBSTITUTION"]
7685 environment :
7786 - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
7887 volumes :
79- - db -data:/var/lib/mysql
88+ - /srv/tuleap/mysql -data:/var/lib/mysql
8089
81- volumes :
82- tuleap-data :
83- db-data :
8490
8591 Tuleap Enterprise
8692`````````````````
@@ -117,7 +123,7 @@ Please check the :ref:`environment variables <docker-environment-variables>` to
117123 - " 443:443"
118124 - " 22:22"
119125 volumes :
120- - tuleap-data:/data
126+ - /srv/tuleap/ tuleap-data:/data
121127 environment :
122128 - TULEAP_FQDN=${TULEAP_FQDN}
123129 - TULEAP_SYS_DBHOST=${DB_FQDN}
@@ -128,8 +134,6 @@ Please check the :ref:`environment variables <docker-environment-variables>` to
128134 - TULEAP_FPM_SESSION_MODE=redis
129135 - TULEAP_REDIS_SERVER=${REDIS_FQDN}
130136
131- volumes :
132- tuleap-data :
133137
134138 If you want to secure your server and use certificates, you may spawn a Reverse-Proxy in the stack.
135139
0 commit comments