Files
Docker-Compose/Financial_Containers/actual/compose.yaml
T

42 lines
1.6 KiB
YAML

services:
actual_server:
image: docker.io/actualbudget/actual-server:latest
container_name: actual
ports:
- '5006:5006'
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
# See all options and more details at https://actualbudget.org/docs/config/
volumes:
- /srv/docker/actual/actual-data:/data
healthcheck:
# Enable health check for the instance
test: ['CMD-SHELL', 'node src/scripts/health-check.js']
interval: 60s
timeout: 10s
retries: 3
start_period: 20s
networks:
- traefik_network
#Can comment out if not using Flame Dashboard
labels:
- flame.type=application # "app" works too
- flame.name=${SERVICE_NAME}
- flame.url=https://${SERVICE_NAME}.${DOMAIN_NAME} #Adjust to your domain or IP
- flame.icon=https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/actual-budget.svg
### Enable Traefik
- traefik.enable=true
### For HTTP
#- traefik.http.routers.${SERVICE_NAME}.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
#- traefik.http.routers.${SERVICE_NAME}.entrypoints=web
### For HTTPS
- traefik.http.routers.${SERVICE_NAME}-https.tls=true
- traefik.http.routers.${SERVICE_NAME}-https.tls.certresolver=cloudflare
- traefik.http.routers.${SERVICE_NAME}-https.entrypoints=websecure
- traefik.http.routers.${SERVICE_NAME}-https.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
restart: unless-stopped
networks:
traefik_network:
external: true