stable

Clone or download

Read-only

Introduce tuleap-cfg docker:tuleap-aio-run command

This command is meant to do everything needed to install, upgrade and run Tuleap in a docker "all in one" context (DB embedded in image). As of today, it only manage install and run leveraging what we learnt from running docker images since 4 years: - We still need background processes so better have something that manage them (supervisord for everything, as PID 1) - Centos 7 is all about systemd, this should be avoided inside docker containers (so, again supervisord). - All configuration must be centralized (to avoid pieces in Dockerfile, pieces in .sh in the image and pieces in Tuleap sources. So everything must be in Tuleap sources. In order to test this you will need to run the following command: docker run --name tuleap-aio -ti --rm -v $PWD:/usr/share/tuleap enalean/tuleap-aio:centos7 Part of request #13394 tuleap-aio should run on centos7 Change-Id: I7bf3a59fa982f4060e648f079feb0624edcd62f6

Modified Files

Name
A src/tuleap-cfg/Command/DockerAioRunCommand.php +167 −0 Go to diff View file
M src/tuleap-cfg/tuleap-cfg.php +3 −1 Go to diff View file
A tools/docker/tuleap-aio-c7/rh-mysql57-mysql-server.cnf +21 −0 Go to diff View file
A tools/docker/tuleap-aio-c7/rsyslog.conf +87 −0 Go to diff View file
A tools/docker/tuleap-aio-c7/supervisor.d/crond.ini +2 −0 Go to diff View file
A tools/docker/tuleap-aio-c7/supervisor.d/fpm.ini +5 −0 Go to diff View file
A tools/docker/tuleap-aio-c7/supervisor.d/httpd.ini +4 −0 Go to diff View file
A tools/docker/tuleap-aio-c7/supervisor.d/mysqld.ini +6 −0 Go to diff View file
A tools/docker/tuleap-aio-c7/supervisor.d/nginx.ini +5 −0 Go to diff View file
A tools/docker/tuleap-aio-c7/supervisor.d/postfix.ini +4 −0 Go to diff View file
A tools/docker/tuleap-aio-c7/supervisor.d/rsyslog.ini +4 −0 Go to diff View file
A tools/docker/tuleap-aio-c7/supervisor.d/sshd.ini +3 −0 Go to diff View file