Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions languages/en/installation-guide/docker/docker_compose.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ Please be aware that you need **double quotes** around your variables in order f

Please check the :ref:`environment variables <docker-environment-variables>` to know what they stand for.

The Volumes
```````````

We're going to mount tuleap as a Filesystem mountpoint instead of a typical Docker volume :
- It eases configuration manipulation
- It allows a better Disk space management
- It allows easier Migration / Disaster Recovery if needed
- It allows easier backups
- There are no significant performance drop on Linux

Tuleap Community
`````````````````
Expand All @@ -58,7 +67,7 @@ Then create a ``compose.yaml`` file with following content:
- "443:443"
- "22:22"
volumes:
- tuleap-data:/data
- /srv/tuleap/tuleap-data:/data
depends_on:
- db
environment:
Expand All @@ -70,17 +79,14 @@ Then create a ``compose.yaml`` file with following content:
- DB_ADMIN_PASSWORD=${MYSQL_ROOT_PASSWORD}

# This is for test purpose only. It's not advised to run a production database as a docker container
db:
mysql:
image: mysql:8.0
command: ["--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci", "--sql-mode=NO_ENGINE_SUBSTITUTION"]
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
volumes:
- db-data:/var/lib/mysql
- /srv/tuleap/mysql-data:/var/lib/mysql

volumes:
tuleap-data:
db-data:

Tuleap Enterprise
`````````````````
Expand Down Expand Up @@ -117,7 +123,7 @@ Please check the :ref:`environment variables <docker-environment-variables>` to
- "443:443"
- "22:22"
volumes:
- tuleap-data:/data
- /srv/tuleap/tuleap-data:/data
environment:
- TULEAP_FQDN=${TULEAP_FQDN}
- TULEAP_SYS_DBHOST=${DB_FQDN}
Expand All @@ -128,8 +134,6 @@ Please check the :ref:`environment variables <docker-environment-variables>` to
- TULEAP_FPM_SESSION_MODE=redis
- TULEAP_REDIS_SERVER=${REDIS_FQDN}

volumes:
tuleap-data:

If you want to secure your server and use certificates, you may spawn a Reverse-Proxy in the stack.

Expand Down
107 changes: 0 additions & 107 deletions languages/en/installation-guide/docker/docker_standalone.rst

This file was deleted.

4 changes: 3 additions & 1 deletion languages/en/installation-guide/docker/intro_docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ It allows you to not be bothered by different OS migrations and the like.
Prerequisites
`````````````

You need `docker <https://docs.docker.com/engine/install/>`_ on your host. You might want docker-compose as well.
You need `docker compose <https://docs.docker.com/compose/install/>`_ on your host.

The following sections assume that you are going to run the Tuleap container as the only "visible" container on the server.
That means that Tuleap web container will publish it's ports (``80``, ``443`` and ``22``) on hosts ports.
Expand All @@ -34,3 +34,5 @@ Please do note that shared databases must not be used:
- they cannot guarantee the needed Quality of service
- they cannot respect the requirements (SQL modes)
- they make consistent backups almost impossible

In most cases, you'll also want a Reverse-Proxy to get access to your platform and handle the TLS termination.
1 change: 0 additions & 1 deletion languages/en/installation-guide/docker/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ Table of contents:
intro_docker
images-configuration
verify_images_authenticity
docker_standalone
docker_compose