]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
docker: Add 'depends_on'
authorStephen Finucane <stephen@that.guru>
Thu, 26 Apr 2018 13:47:40 +0000 (14:47 +0100)
committerStephen Finucane <stephen@that.guru>
Thu, 26 Apr 2018 13:47:40 +0000 (14:47 +0100)
We need this for the PostgreSQL variant too.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 1590c21d ("docker-compose: Remove 'links' section")
docker-compose-pg.yml

index 81e0fda5aa5a438d8be55e4277e4a1de64f31edf..fdc3fbefa5726087e8664cf32f81bf2ba01ff769 100644 (file)
@@ -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/