Skip to content

A local-first personal finance app

Update docker-compose.yml (#150)

Jed Foxb6073f7e6f25
diff --git a/docker-compose.yml b/docker-compose.yml
index fac2970aec..d55e33c7fd 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,13 +1,20 @@
-version: "3"
+version: '3'
services:
actual_server:
- container_name: actual_server
- build:
- context: ./
- dockerfile: Dockerfile
+ image: jlongster/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.
- "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_NORDIGEN_SECRET_ID=xxxx
+ # - ACTUAL_NORDIGEN_SECRET_KEY=xxxx
+ # See all options and more details at https://actualbudget.github.io/docs/Installing/Configuration
volumes:
- - ./server-files:/app/server-files
- - ./user-files:/app/user-files
+ # 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.
+ - ./actual-data:/data
restart: unless-stopped
diff --git a/upcoming-release-notes/150.md b/upcoming-release-notes/150.md
new file mode 100644
index 0000000000..196ba97176
--- /dev/null
+++ b/upcoming-release-notes/150.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [j-f1]
+---
+
+Update `docker-compose.yml` to clarify proper usage in production