From abdda3b545b95fa1554faf93fc59309dc9a848e6 Mon Sep 17 00:00:00 2001 From: forgeadm Date: Tue, 7 Apr 2026 15:55:18 +0200 Subject: [PATCH] Add docker-compose.yaml --- docker-compose.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docker-compose.yaml diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..88904fc --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,36 @@ +services: + actual_server: + image: docker.io/actualbudget/actual-server:latest + networks: + - homelab + #ports: + # # This line makes Actual available at port 5006 of the device you run the server on, + # # i.e. http://localhost:5006. You can change the first number to change the port, if you want. + # - '5006:5006' + #environment: + # Uncomment any of the lines below to set configuration options. + # - ACTUAL_HTTPS_KEY=/data/selfhost.key + # - ACTUAL_HTTPS_CERT=/data/selfhost.crt + # - ACTUAL_PORT=5006 + # - 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/ + # !! If you are not using any of these options, remove the 'environment:' tag entirely. + volumes: + # Change './actual-data' below to the path to the folder you want Actual to store its data in on your server. + # '/data' is the path Actual will look for its files in by default, so leave that as-is. + - /home/ampadmin/docker/actualbg/data:/data + healthcheck: + # Enable health check for the instance + test: ['CMD-SHELL', 'node src/scripts/health-check.js'] + # health check using self signed certs + # test: ['CMD-SHELL', 'NODE_EXTRA_CA_CERTS=/data/selfhost.crt node src/scripts/health-check.js'] + interval: 60s + timeout: 10s + retries: 3 + start_period: 20s + restart: unless-stopped +networks: + homelab: + external: true \ No newline at end of file