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