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