Set depends_on where needed

This commit is contained in:
Jake Howard 2020-06-24 18:35:20 +01:00
parent 7a3643f3c2
commit 7d61282d19
Signed by: jake
GPG key ID: 57AFB45680EDD477
7 changed files with 16 additions and 0 deletions

View file

@ -15,6 +15,8 @@ services:
- traefik.http.services.gitea-gitea.loadbalancer.server.port=3000
ports:
- "{{ wireguard.clients.intersect.ip }}:3022:3022"
depends_on:
- db
volumes:
- ./gitea:/data
- ./repos:/data/git

View file

@ -15,6 +15,10 @@ services:
- /opt/gitea/repos:/repos:ro
- /mnt/media:/content:ro
restart: unless-stopped
depends_on:
- db
- redis
- collabora
tmpfs:
- /config/log
labels:

View file

@ -13,6 +13,8 @@ services:
volumes:
- ./homeserver.yaml:/etc/homeserver.yaml
- ./files:/data
depends_on:
- db
expose:
- 8008
labels:

View file

@ -13,6 +13,8 @@ services:
ports:
- 8112:8112
restart: unless-stopped
depends_on:
- tor-socks-proxy
labels:
- traefik.enable=true
- traefik.http.routers.deluge.rule=Host(`deluge.jakehoward.tech`)

View file

@ -15,6 +15,8 @@ services:
- traefik.enable=true
- traefik.http.routers.tt-rss.rule=Host(`tt-rss.jakehoward.tech`)
- traefik.http.routers.tt-rss.tls.certresolver=le
depends_on:
- db
db:
image: postgres:12-alpine

View file

@ -15,6 +15,8 @@ services:
- traefik.enable=true
- traefik.http.routers.wallabag.rule=Host(`wallabag.jakehoward.tech`)
- traefik.http.routers.wallabag.tls.certresolver=le
depends_on:
- redis
redis:
image: redis:6-alpine

View file

@ -11,6 +11,8 @@ services:
- traefik.enable=true
- traefik.http.routers.statping.rule=Host(`stats.theorangeone.net`)
- traefik.http.routers.statping.tls.certresolver=le
depends_on:
- db
db:
image: postgres:12-alpine