added traefik labels and network

This commit is contained in:
mattspeer committed 2026-10-10 11:15:56 -05:00
1 parent 142e0ac646
commit 9b4b6f3098
1 file changed
+14 -1
+14 -1
View File
@@ -1,6 +1,16 @@
services: services:
actual_server: actual_server:
image: docker.io/actualbudget/actual-server:latest image: docker.io/actualbudget/actual-server:latest
networks:
- traefik-public
labels:
- "traefik.enable=true"
- "traefik.http.routers.actual.rule=Host(`finance.speerfam.net`)"
- "traefik.http.routers.actual.entrypoints=websecure"
- "traefik.http.routers.actual.tls.certresolver=myresolver"
# Pulling the security rules dynamically from our file provider setup
- "traefik.http.routers.actual.middlewares=geoblock-policy@file,crowdsec-policy@file,secure-headers@file"
- "traefik.http.services.actual.loadbalancer.server.port=5006"
ports: ports:
- '5006:5006' - '5006:5006'
environment: environment:
@@ -24,4 +34,7 @@ services:
timeout: 10s timeout: 10s
retries: 3 retries: 3
start_period: 20s start_period: 20s
restart: unless-stopped restart: unless-stopped
networks:
traefik-public:
external: true