Skip to content

Commit

Permalink
adding pbs external services & update env template
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-battlekafer committed Dec 28, 2023
1 parent f2fba1a commit e5fa615
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .templates/env.template
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ VIKUNJA_API_URL=https://${VIKUNJA_API_CONTAINER_NAME:-vikunja-api}:3456/api/v1
# PFSENSE_HOST_NAME=<pfsense_hostname> # pfsense hostname, normally pfsense
# PROXMOX_ADDRESS=<ip_or_fqdn> # proxmox.your_domain.com
# PROXMOX_HOST_NAME=<pve_hostname> # proxmox hostname, normally pve
# PBS_HOST_NAME=<pbs_hostname> # usually pbs
# PBS_ADDRESS=<ip_or_fqdn>
# RANCHER_HOST_NAME=<rancher_hostname> # rancher.your_domain.com
# RANCHER_ADDRESS=<ip_or_fqdn> # rancher hostname, normally rancher
# SYNOLOGY_HOST_NAME=<synology_hostname> # synology.your_domain.com
Expand Down
18 changes: 18 additions & 0 deletions etc/traefik/available/pbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
http:
#region routers
routers:
pbs:
entryPoints:
- "websecure"
rule: "Host(`{{env "PBS_HOST_NAME"}}.{{env "HOST_DOMAIN"}}`)"
middlewares:
- default-headers
tls: {}
service: pbs

services:
pbs:
loadBalancer:
servers:
- url: "https://{{env "PBS_ADDRESS"}}:8007/"
passHostHeader: true

0 comments on commit e5fa615

Please sign in to comment.