version: '3.8' services: quickdid: image: quickdid:latest build: . ports: - "3007:8080" environment: - HTTP_EXTERNAL=localhost:3007 - HTTP_PORT=8080 - RUST_LOG=info # Optional: Override the static files directory # - STATIC_FILES_DIR=/app/custom-www volumes: # Optional: Mount custom static files from host # - ./custom-www:/app/custom-www:ro # Optional: Mount custom .well-known files # - ./www/.well-known:/app/www/.well-known:ro # Optional: Use SQLite for caching # - ./data:/app/data # environment: # SQLite cache configuration # - SQLITE_URL=sqlite:/app/data/quickdid.db # - CACHE_TTL_SQLITE=86400 # Redis cache configuration (if using external Redis) # - REDIS_URL=redis://redis:6379 # - CACHE_TTL_REDIS=86400 # - QUEUE_ADAPTER=redis # Optional: Redis service for caching # redis: # image: redis:7-alpine # ports: # - "6379:6379" # volumes: # - redis-data:/data volumes: redis-data: