services: actual_server: image: actualbudget/actual-server:latest container_name: actualbudget security_opt: - no-new-privileges:true healthcheck: test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/5006' || exit 1 interval: 10s timeout: 5s retries: 3 start_period: 90s ports: - 8002:5006 volumes: - /data/docker/actualbudget:/data:rw restart: on-failure:5