Added docker file
This commit is contained in:
parent
b94f064118
commit
0313c2a2ae
2 changed files with 50 additions and 0 deletions
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
dereth-tracker:
|
||||
build: .
|
||||
ports:
|
||||
- "127.0.0.1:8765:8765"
|
||||
volumes:
|
||||
# Mount local database file for persistence
|
||||
- "./dereth.db:/app/dereth.db"
|
||||
- "./main.py:/app/main.py"
|
||||
- "./db.py:/app/db.py"
|
||||
- "./static:/app/static"
|
||||
environment:
|
||||
# Override database and application settings as needed
|
||||
DB_MAX_SIZE_MB: "2048"
|
||||
DB_RETENTION_DAYS: "7"
|
||||
DB_MAX_SQL_LENGTH: "1000000000"
|
||||
DB_MAX_SQL_VARIABLES: "32766"
|
||||
DB_WAL_AUTOCHECKPOINT_PAGES: "1000"
|
||||
SHARED_SECRET: "your_shared_secret"
|
||||
restart: unless-stopped
|
||||
Loading…
Add table
Add a link
Reference in a new issue