peripatos.free.technology/docker-compose.yml
Jakub Sokołowski 13fdf1138c
docker: support changin httpd port with env var
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-19 15:05:38 +01:00

21 lines
425 B
YAML

version: '3'
services:
terminal:
#image: ghcr.io/m4tt72/terminal:svelte
build: .
container_name: terminal
restart: unless-stopped
ports:
- '0.0.0.0:${PORT:-3000}:${PORT:-3000}'
command: >
-f
-v
-p ${PORT:-3000}
-c httpd.conf
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:${PORT:-3000}"]
interval: 200s
timeout: 200s
retries: 5