2febc99148
The vikunja/vikunja:0.24.6 image is a scratch/distroless build with only the Go binary. wget, curl, sh, and all other utilities are missing, making in-container healthchecks impossible. Removing the healthcheck lets the controller detect the container as "running" directly from Docker state, which is the correct behavior for shell-less images. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
# Vikunja - Feladatkezelő listák és táblák (Todoist/Trello alternatíva)
|
|
# Domain: ${SUBDOMAIN}.${DOMAIN}
|
|
# Database: None (file-based)
|
|
# RAM: ~50M (mem_limit: 256M) | Pi-compatible: Yes
|
|
#
|
|
# Environment variables:
|
|
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
|
# VIKUNJA_SERVICE_JWTSECRET- JWT titkosítási kulcs (auto-generated)
|
|
|
|
services:
|
|
vikunja:
|
|
image: vikunja/vikunja:0.24.6
|
|
container_name: vikunja
|
|
user: "0:0"
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=Europe/Budapest
|
|
- VIKUNJA_SERVICE_PUBLICURL=https://${SUBDOMAIN}.${DOMAIN}
|
|
- VIKUNJA_SERVICE_JWTSECRET=${VIKUNJA_SERVICE_JWTSECRET}
|
|
volumes:
|
|
- vikunja_data:/app/vikunja/files
|
|
- vikunja_db:/db
|
|
networks:
|
|
- traefik-public
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 256M
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.vikunja.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
|
|
- "traefik.http.routers.vikunja.entrypoints=websecure"
|
|
- "traefik.http.routers.vikunja.tls=true"
|
|
- "traefik.http.routers.vikunja.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.vikunja.loadbalancer.server.port=3456"
|
|
|
|
volumes:
|
|
vikunja_data:
|
|
vikunja_db:
|
|
|
|
networks:
|
|
traefik-public:
|
|
external: true
|