services:
auth0-integration:
build:
context: .
dockerfile: Dockerfile.dev
container_name: auth0-integration
ports:
- "${PORT:-8080}:8080"
env_file:
- .env
environment:
- RUST_LOG=${RUST_LOG:-auth0_integration=debug,tower_http=debug}
volumes:
- .:/app
- cargo-registry:/usr/local/cargo/registry
- target-cache:/app/target
healthcheck:
test:
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
volumes:
cargo-registry:
target-cache: