From 34daf17a8c9dd5347c039ceb74110ee74722a086 Mon Sep 17 00:00:00 2001 From: Markus F Date: Tue, 12 Mar 2024 19:50:14 +0100 Subject: [PATCH] Create super-productivity.yml --- services-available/super-productivity.yml | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 services-available/super-productivity.yml diff --git a/services-available/super-productivity.yml b/services-available/super-productivity.yml new file mode 100644 index 00000000..1deb7f43 --- /dev/null +++ b/services-available/super-productivity.yml @@ -0,0 +1,33 @@ +version: '3' + +networks: + traefik: + external: true + +# https://github.com/johannesjo/super-productivity + +services: + super-productivity: + image: johannesjo/super-productivity:${SUPER_PRODUCTIVITY_DOCKER_TAG:-latest} + container_name: ${SUPER_PRODUCTIVITY_CONTAINER_NAME:-super-productivity} + restart: ${SUPER_PRODUCTIVITY_RESTART:-unless-stopped} + networks: + - traefik + command: --user-data-dir=/config + volumes: + - ./etc/super-productivity:/config + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + environment: + - PUID=${PUID:-1000} + - PGID=${PGID:-1000} + - TZ=${TZ} + labels: + - joyride.host.name=${SUPER_PRODUCTIVITY_CONTAINER_NAME:-super-productivity}.${HOST_DOMAIN} + - traefik.enable=true + - traefik.http.routers.super-productivity.entrypoints=websecure + - traefik.http.routers.super-productivity.rule=Host(`${SUPER_PRODUCTIVITY_CONTAINER_NAME:-super-productivity}.${HOST_DOMAIN}`) + #- traefik.http.services.super-productivity.loadbalancer.server.scheme=https # enable if the service wants to connect over https + - traefik.http.services.super-productivity.loadbalancer.server.port=80 + - com.centurylinklabs.watchtower.enable=true + - autoheal=true