- Traefik: remove asephstech/asephscloud SSL certs, fix api.insecure, add ping healthcheck - .env.example: prune from 145 to 30 vars (remove Firebase, Discord, Coolify, etc.) - scraper.Dockerfile: remove Node.js & Chromium from runtime, add healthcheck - CI/CD: remove orphan container ref, commented blocks, fix lint workflow - infra: remove mysql config (no active service), clean up middleware config - root: remove .nvmrc (dup), renovate.json (use dependabot), simplify Makefile - scripts: fix legacy package refs, simplify update-deps to use bun - docs: remove stale handoff-log, quality-gates, superpowers designs, archived files - compose: add healthchecks to traefik, redis, and scraper-api services Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
32 lines
1012 B
YAML
32 lines
1012 B
YAML
services:
|
|
scraper-api:
|
|
container_name: scraper-api
|
|
<<<<<<< HEAD
|
|
image: ghcr.io/asepharyana/asepharyana-hub/scraper-api:sha-80027ee
|
|
||||||| 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)
|
|
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
|
|
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
|