2026-07-09 22:08:26 +07:00
|
|
|
services:
|
|
|
|
|
scraper-api:
|
|
|
|
|
container_name: scraper-api
|
2026-07-21 13:27:45 +07:00
|
|
|
<<<<<<< HEAD
|
2026-07-21 06:01:26 +00:00
|
|
|
image: ghcr.io/asepharyana/asepharyana-hub/scraper-api:sha-80027ee
|
2026-07-21 13:27:45 +07:00
|
|
|
||||||| parent of 092c0b3 (Refactor Dockerfile for scraper, update Traefik configuration, and clean up scripts)
|
|
|
|
|
image: ghcr.io/asepharyana/asepharyana-hub/scraper-api:sha-b199f8c
|
|
|
|
|
=======
|
|
|
|
|
image: ghcr.io/asepharyana/asepharyana-hub/scraper-api:latest
|
|
|
|
|
>>>>>>> 092c0b3 (Refactor Dockerfile for scraper, update Traefik configuration, and clean up scripts)
|
2026-07-09 22:08:26 +07:00
|
|
|
restart: always
|
|
|
|
|
networks:
|
|
|
|
|
app-shared-net:
|
|
|
|
|
aliases:
|
|
|
|
|
- scraper-api
|
|
|
|
|
env_file:
|
|
|
|
|
- ../../.env
|
2026-07-21 13:27:45 +07:00
|
|
|
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
|