Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions deploy/docker-compose.nonroot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,29 @@
# !! If you use a .env file, use single quotes instead of escaping !!

version: "3"

volumes:
timetagger:
driver: local

services:
timetagger:
image: ghcr.io/almarklein/timetagger:v23.9.2-nonroot
image: ghcr.io/almarklein/timetagger:v23.11.4-nonroot
ports:
- "80:80"
- "8888:80"
volumes:
- ./_timetagger:/opt/_timetagger
- timetagger:/root/_timetagger
Comment thread
drajabr marked this conversation as resolved.
environment:
- TIMETAGGER_BIND=0.0.0.0:80
- TIMETAGGER_DATADIR=/opt/_timetagger
- TIMETAGGER_DATADIR=/root/_timetagger
- TIMETAGGER_LOG_LEVEL=info
- TIMETAGGER_CREDENTIALS=test:$$2a$$08$$0CD1NFiIbancwWsu3se1v.RNR/b7YeZd71yg3cZ/3whGlyU6Iny5i # test:test

# The default local auth test:test, comment this line if not used "i.e in production"
- TIMETAGGER_CREDENTIALS=test:$$2a$$08$$0CD1NFiIbancwWsu3se1v.RNR/b7YeZd71yg3cZ/3whGlyU6Iny5i

# Using the reverse proxy authentication
# This uses cosmos-cloud.io, change corresponding headers and ip for the proxy
# Uncomment the following 3 lines if not using proxy to auth
# - TIMETAGGER_PROXY_AUTH_ENABLED=true
# - TIMETAGGER_PROXY_AUTH_TRUSTED=100.0.0.0/8
# - TIMETAGGER_PROXY_AUTH_HEADER='X-cosmos-user'
19 changes: 16 additions & 3 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,24 @@ services:
timetagger:
image: ghcr.io/almarklein/timetagger
ports:
- "80:80"
- "8888:80"
volumes:
- ./_timetagger:/root/_timetagger
- timetagger:/root/_timetagger
environment:
- TIMETAGGER_BIND=0.0.0.0:80
- TIMETAGGER_DATADIR=/root/_timetagger
- TIMETAGGER_LOG_LEVEL=info
- TIMETAGGER_CREDENTIALS=test:$$2a$$08$$0CD1NFiIbancwWsu3se1v.RNR/b7YeZd71yg3cZ/3whGlyU6Iny5i # test:test

# The default local auth test:test, comment this line if not used "i.e in production"
- TIMETAGGER_CREDENTIALS=test:$$2a$$08$$0CD1NFiIbancwWsu3se1v.RNR/b7YeZd71yg3cZ/3whGlyU6Iny5i

# Using the reverse proxy authintication
# I use cosmos-cloud.io, change corrosponding headers and ip for the proxy
# Uncomment the following 3 lines if not using proxy to auth
- TIMETAGGER_PROXY_AUTH_ENABLED=true
- TIMETAGGER_PROXY_AUTH_TRUSTED=100.0.0.0/8
- TIMETAGGER_PROXY_AUTH_HEADER='X-cosmos-user'

volumes:
timetagger:
driver: local