From: Stephen Finucane Date: Thu, 26 Apr 2018 12:45:50 +0000 (+0100) Subject: docker: Add 'depends_on' X-Git-Tag: v2.1.0-rc1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3e3ac6c93d5be664836a41ab1a5de4ca92b7244;p=thirdparty%2Fpatchwork.git docker: Add 'depends_on' This is required now that we're no longer using links. Without it, 'docker-compose up' works but 'docker-compose run web' does not. Signed-off-by: Stephen Finucane Fixes: 1590c21d ("docker-compose: Remove 'links' section") --- diff --git a/docker-compose.yml b/docker-compose.yml index 46c86766..90b24c22 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,6 +15,8 @@ services: dockerfile: ./tools/docker/Dockerfile args: - UID + depends_on: + - db command: python3 manage.py runserver 0.0.0.0:8000 volumes: - .:/home/patchwork/patchwork/