app-store/apps/vikunja/docker-compose.yml
renovate[bot] 3627f9ff61
chore(deps): update vikunja/frontend docker tag to v0.20.5 (#263)
* chore(deps): update vikunja/frontend docker tag to v0.20.5

* Update app version

* chore(deps): update vikunja/api docker tag to v0.20.4 (#262)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2023-04-13 19:59:05 +02:00

68 lines
1.9 KiB
YAML

version: '3.7'
services:
vikunja-frontend:
depends_on:
- vikunja-api
container_name: vikunja-frontend
image: vikunja/frontend:0.20.5
restart: unless-stopped
networks:
- tipi_main_network
vikunja-api:
container_name: vikunja-api
image: vikunja/api:0.20.4
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:
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:
traefik.enable: ${APP_EXPOSED}
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
traefik.http.services.vikunja.loadbalancer.server.port: 80