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

85 lines
2.8 KiB
YAML
Raw Permalink Normal View History

2024-01-07 14:09:38 +00:00
version: '3.7'
2022-11-24 20:50:34 +00:00
services:
2023-09-08 18:44:04 +00:00
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:
2024-01-07 14:09:38 +00:00
test: ['CMD-SHELL', 'pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB']
2023-09-08 18:44:04 +00:00
interval: 5s
timeout: 5s
retries: 5
2022-11-24 20:50:34 +00:00
networks:
- tipi_main_network
2024-02-25 11:56:38 +00:00
2022-11-24 20:50:34 +00:00
vikunja-api:
container_name: vikunja-api
2024-02-25 11:56:38 +00:00
image: vikunja/api:0.22.1
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
2023-09-08 18:44:04 +00:00
VIKUNJA_DATABASE_DATABASE: vikunja
VIKUNJA_SERVICE_JWTSECRET: ${VIKUNJA_SERVICE_SECRET}
2022-11-24 20:50:34 +00:00
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
2024-02-25 11:56:38 +00:00
2023-09-08 18:44:04 +00:00
vikunja:
2024-02-25 11:56:38 +00:00
image: vikunja/frontend:0.22.1
2023-09-08 18:44:04 +00:00
restart: unless-stopped
container_name: vikunja
2022-11-24 20:50:34 +00:00
networks:
- tipi_main_network
2024-02-25 11:56:38 +00:00
vikunja-proxy:
2022-11-24 20:50:34 +00:00
image: nginx
2023-09-08 18:44:04 +00:00
container_name: vikunja-proxy
2022-11-24 20:50:34 +00:00
ports:
- ${APP_PORT}:80
volumes:
2023-09-08 18:44:04 +00:00
- ${APP_DATA_DIR}/data/proxy/nginx.conf:/etc/nginx/conf.d/default.conf:ro
2022-11-24 20:50:34 +00:00
depends_on:
- vikunja-api
2023-08-06 19:16:08 +00:00
- vikunja
2022-11-24 20:50:34 +00:00
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