diff --git a/caddy/conf/Caddyfile b/caddy/conf/Caddyfile index 5a12db2..7f8c56f 100755 --- a/caddy/conf/Caddyfile +++ b/caddy/conf/Caddyfile @@ -73,6 +73,12 @@ encode gzip reverse_proxy calibre-web:8083 } + + @vikunja host tasks.wampler.us + handle @vikunja { + encode gzip + reverse_proxy vikunja:3456 + } } localhost { diff --git a/vikunja/compose.yml b/vikunja/compose.yml new file mode 100644 index 0000000..632d59c --- /dev/null +++ b/vikunja/compose.yml @@ -0,0 +1,29 @@ +services: + vikunja: + image: vikunja/vikunja:0.24.6 + container_name: vikunja + restart: unless-stopped + environment: + - PUID=1000 + - PGID=1000 + - TZ=America/Los_Angeles + - VIKUNJA_SERVICE_PUBLICURL=https://tasks.wampler.us + volumes: + - /mnt/storage/apps/vikunja/data:/app/vikunja/files + healthcheck: + test: ["CMD", "wget", "-q", "--spider", "http://localhost:3456/api/v1/info"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 30s + deploy: + resources: + limits: + memory: 512M + cpus: '0.5' + networks: + - network +networks: + network: + name: proxy + external: true