21 lines
571 B
YAML
21 lines
571 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
args:
|
|
NEXT_PUBLIC_BASE_PATH: /homepage
|
|
ports:
|
|
- "127.0.0.1:3001:3000"
|
|
volumes:
|
|
- ./config:/app/config
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
environment:
|
|
HOSTNAME: "::"
|
|
HOMEPAGE_ALLOWED_HOSTS: "optical-dev.oliver.solutions"
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1:3000/api/healthcheck || exit 1"]
|
|
interval: 10s
|
|
timeout: 3s
|
|
start_period: 30s
|
|
retries: 3
|