inital setup
This commit is contained in:
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
# https://docs.docker.com/compose/compose-file/compose-file-v3/
|
||||
# https://timetagger.app/articles/selfhost2/
|
||||
---
|
||||
version: "3.9"
|
||||
services:
|
||||
timetagger:
|
||||
image: ghcr.io/almarklein/timetagger
|
||||
container_name: timetagger
|
||||
env_file:
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
replicas: 1
|
||||
placement:
|
||||
max_replicas_per_node: 1
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 10s
|
||||
ports:
|
||||
- 80:80
|
||||
volumes:
|
||||
- ${BASEDIR:-.}/files/:${TIMETAGGER_DATADIR}
|
||||
# networks:
|
||||
# - backend
|
||||
|
||||
# networks:
|
||||
# backend:
|
||||
# name: ${INTRANET:-backend}
|
||||
# external: true
|
||||
Reference in New Issue
Block a user