app-store/apps/vikunja/docker-compose.yml

87 lines
2.8 KiB
YAML
Raw Normal View History

2022-11-24 20:50:34 +00:00
version: '3.7'
services:
vikunja:
2022-11-24 20:50:34 +00:00
depends_on:
- vikunja-api
container_name: vikunja
image: vikunja/frontend:0.20.5
2022-11-24 20:50:34 +00:00
restart: unless-stopped
networks:
- tipi_main_network
vikunja-api:
container_name: vikunja-api
image: vikunja/api:0.20.4
2022-11-24 20:50:34 +00:00
environment:
VIKUNJA_DATABASE_HOST: vikunja-db
VIKUNJA_DATABASE_PASSWORD: ${VIKUNJA_DB_PASSWORD}
VIKUNJA_DATABASE_TYPE: postgres
VIKUNJA_DATABASE_USER: tipi
VIKUNJA_SERVICE_JWTSECRET: ${VIKUNJA_SERVICE_JWTSECRET}
VIKUNJA_SERVICE_FRONTENDURL: ${APP_PROTOCOL:-http}://${APP_DOMAIN}/
volumes:
- ${APP_DATA_DIR}/data/files:/app/vikunja/files
restart: unless-stopped
depends_on:
vikunja-db:
condition: service_healthy
networks:
- tipi_main_network
vikunja-db:
container_name: vikunja-db
image: postgres:14
environment:
POSTGRES_PASSWORD: ${VIKUNJA_DB_PASSWORD}
POSTGRES_USER: tipi
POSTGRES_DB: vikunja
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
interval: 5s
timeout: 5s
retries: 5
networks:
- tipi_main_network
vikunja-proxy:
2022-11-24 20:50:34 +00:00
container_name: vikunja
image: nginx
ports:
- ${APP_PORT}:80
volumes:
- ${APP_DATA_DIR}/data/proxy/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- vikunja-api
- vikunja-frontend
restart: unless-stopped
networks:
- tipi_main_network
labels:
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Main
traefik.enable: true
traefik.http.middlewares.vikunja-web-redirect.redirectscheme.scheme: https
traefik.http.services.vikunja.loadbalancer.server.port: 80
# Web
traefik.http.routers.vikunja-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.vikunja-insecure.entrypoints: web
traefik.http.routers.vikunja-insecure.service: vikunja
traefik.http.routers.vikunja-insecure.middlewares: vikunja-web-redirect
# Websecure
2022-11-24 20:50:34 +00:00
traefik.http.routers.vikunja.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.vikunja.entrypoints: websecure
traefik.http.routers.vikunja.service: vikunja
traefik.http.routers.vikunja.tls.certresolver: myresolver
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Local domain
traefik.http.routers.vikunja-local-insecure.rule: Host(`vikunja.${LOCAL_DOMAIN}`)
traefik.http.routers.vikunja-local-insecure.entrypoints: web
traefik.http.routers.vikunja-local-insecure.service: vikunja
traefik.http.routers.vikunja-local-insecure.middlewares: vikunja-web-redirect
# Local domain secure
traefik.http.routers.vikunja-local.rule: Host(`vikunja.${LOCAL_DOMAIN}`)
traefik.http.routers.vikunja-local.entrypoints: websecure
traefik.http.routers.vikunja-local.service: vikunja
traefik.http.routers.vikunja-local.tls: true