Files
asepharyana-hub/infra/compose/scraper.yml
T

26 lines
635 B
YAML
Raw Normal View History

2026-07-09 22:08:26 +07:00
services:
scraper-api:
container_name: scraper-api
image: ghcr.io/asepharyana/asepharyana-hub/scraper-api:latest
2026-07-09 22:08:26 +07:00
restart: always
networks:
app-shared-net:
aliases:
- scraper-api
env_file:
- ../../.env
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:4091/health']
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
2026-07-09 22:08:26 +07:00
environment:
- REDIS_URL=redis://redis:6379
- JWT_SECRET=${JWT_SECRET:?JWT_SECRET is required}
- DATABASE_URL=${DATABASE_URL}
networks:
app-shared-net:
name: app-shared-net
external: true