mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
feat: add actual budget
This commit is contained in:
@@ -113,6 +113,7 @@ CLOUDFLARE_API_TOKEN=
|
||||
|
||||
# These values are the subdomains that Traefik will use to route traffic to the services.
|
||||
# You can modify these values to suit your needs, but ensure that they are unique and do not conflict with other services.
|
||||
ACTUAL_BUDGET_HOSTNAME=actual-budget.${DOMAIN?}
|
||||
ADDON_MANAGER_HOSTNAME=addon-manager.${DOMAIN?}
|
||||
AI_SEARCH_HOSTNAME=ai-search.${DOMAIN?}
|
||||
AIOLISTS_HOSTNAME=aiolists.${DOMAIN?}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# File size limits in MB.
|
||||
UPLOAD_FILE_SYNC_SIZE_LIMIT=20
|
||||
UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT=50
|
||||
UPLOAD_FILE_SIZE_LIMIT=20
|
||||
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
actual-budget:
|
||||
image: actualbudget/actual-server:latest
|
||||
container_name: actual-budget
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- 5006
|
||||
environment:
|
||||
ACTUAL_UPLOAD_FILE_SYNC_SIZE_LIMIT_MB: "${UPLOAD_FILE_SYNC_SIZE_LIMIT}"
|
||||
ACTUAL_UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT_MB: "${UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT}"
|
||||
ACTUAL_UPLOAD_FILE_SIZE_LIMIT_MB: "${UPLOAD_FILE_SIZE_LIMIT}"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.actual-budget.rule=Host(`${ACTUAL_BUDGET_HOSTNAME?}`)"
|
||||
- "traefik.http.routers.actual-budget.entrypoints=websecure"
|
||||
- "traefik.http.routers.actual-budget.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.routers.actual-budget.middlewares=authelia@docker"
|
||||
- "traefik.http.services.actual-budget.loadbalancer.server.port=5006"
|
||||
volumes:
|
||||
- ${DOCKER_DATA_DIR}/actual-budget:/data
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', 'node src/scripts/health-check.js']
|
||||
interval: 60s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
profiles:
|
||||
- actual-budget
|
||||
- all
|
||||
@@ -12,6 +12,7 @@ services:
|
||||
CLOUDFLARE_API_TOKEN: "${CLOUDFLARE_API_TOKEN}"
|
||||
PROXIED: false
|
||||
DOMAINS: >
|
||||
${ACTUAL_BUDGET_HOSTNAME},
|
||||
${ADDON_MANAGER_HOSTNAME},
|
||||
${AI_SEARCH_HOSTNAME},
|
||||
${AIOLISTS_HOSTNAME},
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
include:
|
||||
- apps/actual-budget/compose.yaml
|
||||
- apps/addon-manager/compose.yaml
|
||||
- apps/aiolists/compose.yaml
|
||||
- apps/aiostreams/compose.yaml
|
||||
|
||||
Reference in New Issue
Block a user