This commit is contained in:
mathieu 2024-06-03 08:14:11 +02:00
parent 0be4c0c38d
commit 9bd9d0fa03
2 changed files with 24 additions and 0 deletions

13
actual/docker-compose.yml Normal file
View File

@ -0,0 +1,13 @@
version: '3'
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.
- '5006:5006'
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.
- /volume1/docker/actual/data:/data
restart: unless-stopped

View File

@ -35,6 +35,12 @@ http:
tls: {} tls: {}
middlewares: middlewares:
- stripprefixregex - stripprefixregex
router-actual:
rule: "Host(`huguettes.freeboxos.fr`) && PathPrefix(`/actual`)"
service: "service-actual"
tls: {}
middlewares:
- stripprefixregex
services: services:
@ -68,6 +74,11 @@ http:
passHostHeader: true passHostHeader: true
servers: servers:
- url: "http://192.168.1.100:8084" - url: "http://192.168.1.100:8084"
service-actual:
loadBalancer:
passHostHeader: true
servers:
- url: "http://192.168.1.100:5006"
middlewares: middlewares: