chore: rearange depends

This commit is contained in:
Niklas 2023-10-30 02:06:20 +01:00
parent cf02ca2519
commit a814c3aa32

View File

@ -82,6 +82,9 @@ services:
assets: assets:
image: nginx:alpine image: nginx:alpine
restart: unless-stopped restart: unless-stopped
depends_on:
- imager
- imgproxy
env_file: env_file:
- .env - .env
ports: ports:
@ -94,9 +97,6 @@ services:
imager: imager:
build: build:
context: imager context: imager
depends_on:
# proxied through nginx of assets
- assets
env_file: env_file:
- .env - .env
volumes: volumes:
@ -106,9 +106,6 @@ services:
imgproxy: imgproxy:
image: ghcr.io/willnorris/imageproxy image: ghcr.io/willnorris/imageproxy
depends_on:
# proxied through nginx of assets
- assets
volumes: volumes:
- "./assets/usercontent/imageproxy/cache:/tmp/imageproxy" - "./assets/usercontent/imageproxy/cache:/tmp/imageproxy"
env_file: env_file:
@ -120,7 +117,7 @@ services:
build: build:
context: atomcms context: atomcms
depends_on: depends_on:
- imager - assets
- arcturus - arcturus
ports: ports:
- "8081:80" - "8081:80"