Skip to content
Snippets Groups Projects
Commit ba3e83e2 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

docker-compose: make sure the servers depend on redis/mariadb

so the services get started in the right order
parent e73a8f95
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,9 @@ services:
- TERM_PROGRAM=Hyper # force colors for the symfony dumper
build:
context: php-fpm
depends_on:
- mariadb
- redis
working_dir: /application
volumes:
- ..:/application
......@@ -26,6 +29,9 @@ services:
- TERM_PROGRAM=Hyper # force colors for the symfony dumper
build:
context: php-fpm
depends_on:
- mariadb
- redis
working_dir: /application
entrypoint: supervisord -c /etc/supervisor/conf.d/queue-worker.conf
volumes:
......@@ -41,6 +47,8 @@ services:
redis-commander:
image: "rediscommander/redis-commander"
depends_on:
- redis
environment:
- REDIS_HOST=redis
ports:
......@@ -58,6 +66,8 @@ services:
phpmyadmin:
image: phpmyadmin/phpmyadmin
depends_on:
- mariadb
environment:
- PMA_USER=db
- PMA_PASSWORD=secret
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment