37 lines
1.6 KiB
YAML
37 lines
1.6 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/"
|
|
labels:
|
|
kuma.tools.tag.name: 'Tools'
|
|
kuma.tools.tag.color: '#FF9900'
|
|
kuma.work.tag.name: 'Work'
|
|
kuma.work.tag.color: '#FF9955'
|
|
kuma.organization.tag.name: 'Organization'
|
|
kuma.organization.tag.color: '#FF99AA'
|
|
kuma.dailytxt.http.name: 'DailyTxT'
|
|
kuma.dailytxt.http.url: 'https://dailytxt.domr.ovh'
|
|
kuma.dailytxt.http.tag_names: '[{"name": "tools", "value": "" }, {"name": "homelab", "value": "" }]'
|