Add pocket ID to configs
This commit is contained in:
20
pocketid/docker-compose.yml
Normal file
20
pocketid/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
pocket-id:
|
||||
image: stonith404/pocket-id:v0.21.0
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
ports:
|
||||
- 3043:80
|
||||
volumes:
|
||||
- ${DATA_ROOT}:/app/backend/data
|
||||
environment:
|
||||
- SQLITE_DB_PATH=${DATA_ROOT}/pocket-id.db
|
||||
- UPLOAD_PATH=${DATA_ROOT}/uploads
|
||||
- GEOLITE_DB_PATH=${DATA_ROOT}/GeoLite2-City.mmdb
|
||||
# Optional healthcheck
|
||||
healthcheck:
|
||||
test: "curl -f http://localhost/health"
|
||||
interval: 1m30s
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
start_period: 10s
|
||||
Reference in New Issue
Block a user