27 lines
570 B
YAML
27 lines
570 B
YAML
---
|
|
services:
|
|
actual:
|
|
image: ghcr.io/actualbudget/actual
|
|
container_name: actual
|
|
pull_policy: always
|
|
restart: unless-stopped
|
|
ports:
|
|
- 127.0.0.1:${PORT}:5006
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 2048M
|
|
volumes:
|
|
- type: bind
|
|
source: ${VOLUME_PATH}
|
|
target: /data
|
|
bind:
|
|
create_host_path: true
|
|
user: ${PUID}:${PGID}
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'node src/scripts/health-check.js']
|
|
interval: 60s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 20s
|