28 lines
601 B
YAML
28 lines
601 B
YAML
services:
|
|
narrowit:
|
|
build: .
|
|
ports:
|
|
- "8001:8001"
|
|
environment:
|
|
OG_SIDECAR_URL: http://og-screenshot:8002
|
|
PUBLIC_URL: https://narrowit.schmelczer.dev
|
|
depends_on:
|
|
og-screenshot:
|
|
condition: service_healthy
|
|
|
|
og-screenshot:
|
|
build: ./og-screenshot
|
|
environment:
|
|
NARROWIT_URL: http://narrowit:8001
|
|
CACHE_DIR: /cache
|
|
volumes:
|
|
- og-cache:/cache
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8002/health"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 30s
|
|
|
|
volumes:
|
|
og-cache:
|