feat: Update nginx service dependency to ensure it starts only after the app service
This commit is contained in:
+2
-1
@@ -4,7 +4,8 @@ services:
|
|||||||
container_name: inventarsystem-nginx
|
container_name: inventarsystem-nginx
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
app:
|
||||||
|
condition: service_started
|
||||||
ports:
|
ports:
|
||||||
- "${INVENTAR_HTTP_PORT:-80}:80"
|
- "${INVENTAR_HTTP_PORT:-80}:80"
|
||||||
- "${INVENTAR_HTTPS_PORT:-443}:443"
|
- "${INVENTAR_HTTPS_PORT:-443}:443"
|
||||||
|
|||||||
Reference in New Issue
Block a user