From 9bd9d0fa03dd49509e8d79082a0a5729a738d549 Mon Sep 17 00:00:00 2001 From: mathieu Date: Mon, 3 Jun 2024 08:14:11 +0200 Subject: [PATCH] actual --- actual/docker-compose.yml | 13 +++++++++++++ traefik/rules.yaml | 11 +++++++++++ 2 files changed, 24 insertions(+) create mode 100644 actual/docker-compose.yml diff --git a/actual/docker-compose.yml b/actual/docker-compose.yml new file mode 100644 index 0000000..2f537bd --- /dev/null +++ b/actual/docker-compose.yml @@ -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 \ No newline at end of file diff --git a/traefik/rules.yaml b/traefik/rules.yaml index 94d3628..18341b9 100644 --- a/traefik/rules.yaml +++ b/traefik/rules.yaml @@ -35,6 +35,12 @@ http: tls: {} middlewares: - stripprefixregex + router-actual: + rule: "Host(`huguettes.freeboxos.fr`) && PathPrefix(`/actual`)" + service: "service-actual" + tls: {} + middlewares: + - stripprefixregex services: @@ -68,6 +74,11 @@ http: passHostHeader: true servers: - url: "http://192.168.1.100:8084" + service-actual: + loadBalancer: + passHostHeader: true + servers: + - url: "http://192.168.1.100:5006" middlewares: