From 63f56c9002e54571c2441208e9ea7af65abd6dc1 Mon Sep 17 00:00:00 2001 From: Galuh Sahid Date: Tue, 26 Dec 2023 13:16:16 +0100 Subject: [PATCH] Add certs --- actualbudget/docker-compose.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/actualbudget/docker-compose.yml b/actualbudget/docker-compose.yml index 3efc19b..37130ed 100644 --- a/actualbudget/docker-compose.yml +++ b/actualbudget/docker-compose.yml @@ -3,19 +3,14 @@ services: actual_server: image: docker.io/actualbudget/actual-server:latest 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. - "100.104.163.2:5006:5006" environment: - - ACTUAL_HTTPS_KEY=${ACTUAL_HTTPS_KEY_FILE_PATH} - - ACTUAL_HTTPS_CERT=${ACTUAL_HTTPS_CERT_FILE_PATH} + - ACTUAL_HTTPS_KEY=/certs/key.pem + - ACTUAL_HTTPS_CERT=/certs/cert.pem - 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.github.io/docs/Installing/Configuration - # !! 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}/certs:/certs - ${PWD}/actual-data:/data restart: unless-stopped \ No newline at end of file