inital setup

This commit is contained in:
2023-06-13 15:18:59 +02:00
parent c464bdacdc
commit 86bdd7f10d
3 changed files with 46 additions and 0 deletions

29
docker-compose.yml Normal file
View 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