- Simplified Dockerfile for scraper by removing unnecessary Node.js installation and optimizing build stages. - Updated Traefik environment configuration to use shorter variable names for certificate paths. - Removed commented-out middleware configurations in dynamic middlewares.yaml. - Cleaned up legacy SSL configurations in ssl.yaml. - Disabled insecure API access in Traefik configuration. - Deleted unused renovate.json file. - Modified update environment script to only process apps directory. - Updated GHCR cleanup script to target specific package. - Streamlined dependency update script to focus on app submodules. - Removed setup script for Prometheus as it is no longer needed.
26 lines
635 B
YAML
26 lines
635 B
YAML
services:
|
|
scraper-api:
|
|
container_name: scraper-api
|
|
image: ghcr.io/asepharyana/asepharyana-hub/scraper-api:latest
|
|
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
|