Files
boc/quixzoom-shop/docker-compose.yml
T

25 lines
703 B
YAML
Raw Normal View History

version: '3.8'
services:
quixzoom-shop:
build: .
container_name: quixzoom-shop
ports:
- "8087:8080"
environment:
- PORT=8080
- HOST=0.0.0.0
- DATABASE_URL=postgresql://iom:${POSTGRES_PASSWORD:-iom_secret}@host.docker.internal:5432/iom
- REDIS_URL=redis://host.docker.internal:6379/0
- JWT_SECRET=${JWT_SECRET}
- SHOP_MISSION_THRESHOLD=10
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s