QuickDID is a high-performance AT Protocol identity resolution service written in Rust. It provides handle-to-DID resolution with Redis-backed caching and queue processing.
1version: '3.8'
2
3services:
4 quickdid:
5 image: quickdid:latest
6 build: .
7 ports:
8 - "3007:8080"
9 environment:
10 - HTTP_EXTERNAL=localhost:3007
11 - HTTP_PORT=8080
12 - RUST_LOG=info
13 # Optional: Override the static files directory
14 # - STATIC_FILES_DIR=/app/custom-www
15 volumes:
16 # Optional: Mount custom static files from host
17 # - ./custom-www:/app/custom-www:ro
18 # Optional: Mount custom .well-known files
19 # - ./www/.well-known:/app/www/.well-known:ro
20 # Optional: Use SQLite for caching
21 # - ./data:/app/data
22 # environment:
23 # SQLite cache configuration
24 # - SQLITE_URL=sqlite:/app/data/quickdid.db
25 # - CACHE_TTL_SQLITE=86400
26
27 # Redis cache configuration (if using external Redis)
28 # - REDIS_URL=redis://redis:6379
29 # - CACHE_TTL_REDIS=86400
30 # - QUEUE_ADAPTER=redis
31
32 # Optional: Redis service for caching
33 # redis:
34 # image: redis:7-alpine
35 # ports:
36 # - "6379:6379"
37 # volumes:
38 # - redis-data:/data
39
40volumes:
41 redis-data: