2025-10-07 10:59:52 +01:00

30 lines
617 B
YAML

version: '3.8'
services:
extension-registry:
build:
context: .
dockerfile: Dockerfile
image: extension-registry:latest
container_name: extension-registry
ports:
- "8082:8082"
volumes:
- ./config.toml:/app/config.toml:ro
- ./tokens:/app/tokens:ro
environment:
- RUST_LOG=info
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8082/api/v1/health"]
interval: 30s
timeout: 3s
retries: 3
start_period: 5s
networks:
- extension-net
networks:
extension-net:
driver: bridge