Files
docker-container/dailytxt/docker-compose.yml
Sönke Domröas a9c922db9d stuff
2026-02-03 13:10:44 +01:00

27 lines
1.2 KiB
YAML

services:
dailytxt:
image: phitux/dailytxt:latest
container_name: dailytxt
restart: always
env_file:
- .env
environment:
# That's the internal container-port. You can actually use any portnumber (must match with the one at 'ports')
- PORT=8317
- SECRET_KEY="O+EuLJXNAIxIT7puvNU5KVC4sh3JPRorTMCDRAkekho="
# Set it to False or remove the line completely to disallow registration of new users.
- ALLOW_REGISTRATION=True
# Use this if you want the json log file to be indented. Makes it easier to compare the files. Otherwise just remove this line!
- DATA_INDENT=2
# Set after how many days the JWT token will expire and you have to re-login. Defaults to 30 days if line is ommited.
- JWT_EXP_DAYS=60
# Enable/disable a feature of DailyTxT to auto-check maximal once per hour if there's a newer version of DailyTxT available. Defaults to True if line is ommited.
- ENABLE_UPDATE_CHECK=True
- ADMIN_PASSWORD=${ADMIN_PW_DAILYTXT}
ports:
- "8317:8765"
# perhaps you only want:
# "<host_port>:8765"
volumes:
- "/home/soenke/docker-data/dailytxt/:/app/data/"