diff --git a/swarm/actualbudget.yaml b/swarm/actualbudget.yaml new file mode 100644 index 0000000..c73b476 --- /dev/null +++ b/swarm/actualbudget.yaml @@ -0,0 +1,44 @@ +networks: + netgrimoire: + external: true + +services: + actual: + image: actualbudget/actual-server:latest + networks: + - netgrimoire + volumes: + - /DockerVol/actual:/data + environment: + - ACTUAL_UPLOAD_FILE_SYNC_SIZE_LIMIT_MB=20 + - ACTUAL_UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT_MB=50 + - ACTUAL_UPLOAD_FILE_SIZE_LIMIT_MB=20 + deploy: + placement: + constraints: + - node.hostname == znas + - node.platform.arch != aarch64 + - node.platform.arch != arm + restart_policy: + condition: on-failure + delay: 5s + max_attempts: 3 + labels: + # Caddy reverse proxy + caddy: budget.netgrimoire.com + caddy.reverse_proxy: actual:5006 + caddy.import: crowdsec + #caddy.import: authentik + + # DIUN + diun.enable: "true" + + # Uptime Kuma + kuma.actual.http.name: "Actual Budget" + + # Homepage + homepage.group: Finance + homepage.name: Actual Budget + homepage.icon: actual-budget.svg + homepage.href: https://budget.netgrimoire.com + homepage.description: Envelope budgeting \ No newline at end of file