fix docker-compose port
This commit is contained in:
@@ -6,14 +6,13 @@ services:
|
|||||||
image: lan-web:latest
|
image: lan-web:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-8081}:${APP_PORT:-8081}"
|
- 8081:8081
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/app:ro
|
- ./:/app:ro
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test: ["CMD-SHELL", "curl -f http://localhost:8081/ || exit 1"]
|
||||||
["CMD-SHELL", "curl -f http://localhost:${APP_PORT:-8081}/ || exit 1"]
|
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user