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 - traefik.http.services.gitea-gitea.loadbalancer.server.port=3000
ports: ports:
- "{{ wireguard.clients.intersect.ip }}:3022:3022" - "{{ wireguard.clients.intersect.ip }}:3022:3022"
depends_on:
- db
volumes: volumes:
- ./gitea:/data - ./gitea:/data
- ./repos:/data/git - ./repos:/data/git

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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