bashgen/docker-compose.yml

19 lines
532 B
YAML

# Docker Compose configuration for bash script generator
services:
bashgen:
build:
context: ..
dockerfile: bashgen/Dockerfile
container_name: bashgen-app
ports:
- "8083:8080" # Map host port 8083 to container port 8080
restart: unless-stopped
environment:
- PYTHONUNBUFFERED=1
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s