Skip to content

Commit

Permalink
Create super-productivity.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mafen committed Mar 12, 2024
1 parent 377bb2b commit 34daf17
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions services-available/super-productivity.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 34daf17

Please sign in to comment.