Skip to content

Commit 7ecf51b

Browse files
Use env var for overriding data path
1 parent 1c46655 commit 7ecf51b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

packages/sync-server/docker-compose.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,10 @@ services:
55
# This line makes Actual available at port 5006 of the device you run the server on,
66
# i.e. http://localhost:5006. You can change the first number to change the port, if you want.
77
- '5006:5006'
8-
environment:
9-
# Uncomment any of the lines below to set configuration options.
10-
# - ACTUAL_HTTPS_KEY=/data/selfhost.key
11-
# - ACTUAL_HTTPS_CERT=/data/selfhost.crt
12-
# - ACTUAL_PORT=5006
13-
# - ACTUAL_UPLOAD_FILE_SYNC_SIZE_LIMIT_MB=20
14-
# - ACTUAL_UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT_MB=50
15-
# - ACTUAL_UPLOAD_FILE_SIZE_LIMIT_MB=20
16-
# See all options and more details at https://actualbudget.github.io/docs/Installing/Configuration
17-
# !! If you are not using any of these options, remove the 'environment:' tag entirely.
188
volumes:
199
# Change './actual-data' below to the path to the folder you want Actual to store its data in on your server.
2010
# '/data' is the path Actual will look for its files in by default, so leave that as-is.
21-
- ./actual-data:/data
11+
- ${ACTUAL_DATA_PATH:-./actual-data}:/data
2212
healthcheck:
2313
# Enable health check for the instance
2414
test: ['CMD-SHELL', 'node src/scripts/health-check.js']

0 commit comments

Comments
 (0)