Merge pull request #8360 from opf/feature/docker-compose-add-missing-depends

[docker] Depend on seeder process
pull/8372/head
ulferts 5 years ago committed by GitHub
commit 3c7afb2eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      docker-compose.yml

@ -25,9 +25,6 @@ x-op-app: &app
- "IMAP_ENABLED=false" - "IMAP_ENABLED=false"
volumes: volumes:
- "opdata:/var/openproject/assets" - "opdata:/var/openproject/assets"
depends_on:
- db
- cache
services: services:
db: db:
@ -68,18 +65,30 @@ services:
networks: networks:
- frontend - frontend
- backend - backend
depends_on:
- db
- cache
- seeder
worker: worker:
<<: *app <<: *app
command: "./docker/worker" command: "./docker/worker"
networks: networks:
- backend - backend
depends_on:
- db
- cache
- seeder
cron: cron:
<<: *app <<: *app
command: "./docker/cron" command: "./docker/cron"
networks: networks:
- backend - backend
depends_on:
- db
- cache
- seeder
seeder: seeder:
<<: *app <<: *app

Loading…
Cancel
Save