A local-first personal finance app
Update Docker.md
Rich Howell05c15b61127f
diff --git a/docs/Installing/Docker.md b/docs/Installing/Docker.mdindex 7bbffe3b98..3454f1ead9 100644--- a/docs/Installing/Docker.md+++ b/docs/Installing/Docker.md@@ -125,3 +125,77 @@ Since Actual doesn't know what server to use, the first thing it does is asks yoURL. If you are running this project, simply click "Use this domain" and it will automatically fillit in with the current domain. This works because we are serving the app and server in the sameplace.++## Sample Files++Below you will find a selection of sample files for Actual Budget that work with Docker++### actual_server.env++```bash+# This files contains all the variables you may need to change to set up Actual budget.++# Server data location of Actual+dataPath=./data++# Actual web app port+externalPort=5006+```++### actual.subdomain.conf.sample++```json+server {+ listen 443 ssl;+ listen [::]:443 ssl;++ server_name budget.*;++ include /config/nginx/ssl.conf;++ client_max_body_size 0;++ # enable for ldap auth, fill in ldap details in ldap.conf+ #include /config/nginx/ldap.conf;++ # enable for Authelia+ #include /config/nginx/authelia-server.conf;++ location / {+ # enable the next two lines for http auth+ #auth_basic "Restricted";+ #auth_basic_user_file /config/nginx/.htpasswd;++ # enable the next two lines for ldap auth+ #auth_request /auth;+ #error_page 401 =200 /ldaplogin;++ # enable for Authelia+ #include /config/nginx/authelia-location.conf;++ include /config/nginx/proxy.conf;+ include /config/nginx/resolver.conf;+ set $upstream_app actual_budget;+ set $upstream_port 5006;+ set $upstream_proto http;+ proxy_pass $upstream_proto://$upstream_app:$upstream_port;++ }+}+```+### docker-compose.yml++```yml+version: "3"+services:+ actual_server:+ container_name: actual_server+ build:+ context: ./+ dockerfile: Dockerfile+ ports:+ - "${externalPort}:5006"+ volumes:+ - ${dataPath}:/data+ restart: unless-stopped+```\ No newline at end of file