Install duplicati on PVE docker machine
Requires some changes to how private IPs are specified, which I really need to clean up at some point!
This commit is contained in:
parent
f6c176d2f0
commit
0f9802a46c
7 changed files with 11 additions and 7 deletions
2
ansible/group_vars/all/network.yml
Normal file
2
ansible/group_vars/all/network.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
private_ip: "{{ wireguard.clients[ansible_fqdn].ip }}"
|
||||||
|
protected_ip: "{{ private_ip }}"
|
|
@ -1,5 +1,7 @@
|
||||||
expose_ssh: true
|
expose_ssh: true
|
||||||
traefik_private_ip: "{{ ansible_default_ipv4.address }}"
|
|
||||||
|
private_ip: "{{ ansible_default_ipv4.address }}"
|
||||||
|
protected_ip: 192.168.2.47
|
||||||
|
|
||||||
traefik_proxy_protocol_trusted_ips: 10.23.0.0/16
|
traefik_proxy_protocol_trusted_ips: 10.23.0.0/16
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
- gitlab
|
- gitlab
|
||||||
- heimdall
|
- heimdall
|
||||||
- gitea
|
- gitea
|
||||||
|
- duplicati
|
||||||
|
|
||||||
- hosts: walker
|
- hosts: walker
|
||||||
roles:
|
roles:
|
||||||
|
|
|
@ -13,4 +13,4 @@ services:
|
||||||
- /:/source:ro
|
- /:/source:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "{{ wireguard.clients[ansible_fqdn].ip }}:8200:8200"
|
- "{{ protected_ip }}:8200:8200"
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
traefik_private_ip: "{{ wireguard.clients[ansible_fqdn].ip }}"
|
|
||||||
traefik_influx_db_dir: ./influxdb
|
traefik_influx_db_dir: ./influxdb
|
||||||
|
|
||||||
traefik_proxy_protocol_trusted_ips: "{{ wireguard.cidr }}"
|
traefik_proxy_protocol_trusted_ips: "{{ wireguard.cidr }}"
|
||||||
|
|
|
@ -19,8 +19,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ traefik_influx_db_dir }}:/var/lib/influxdb"
|
- "{{ traefik_influx_db_dir }}:/var/lib/influxdb"
|
||||||
ports:
|
ports:
|
||||||
- "{{ traefik_private_ip }}:38089:8089/udp"
|
- "{{ private_ip }}:38089:8089/udp"
|
||||||
- "{{ traefik_private_ip }}:38086:8086"
|
- "{{ private_ip }}:38086:8086"
|
||||||
environment:
|
environment:
|
||||||
- INFLUXDB_DB=traefik
|
- INFLUXDB_DB=traefik
|
||||||
- INFLUXDB_HTTP_AUTH_ENABLED=
|
- INFLUXDB_HTTP_AUTH_ENABLED=
|
||||||
|
|
|
@ -15,7 +15,7 @@ entryPoints:
|
||||||
trustedIPs:
|
trustedIPs:
|
||||||
- "{{ traefik_proxy_protocol_trusted_ips }}"
|
- "{{ traefik_proxy_protocol_trusted_ips }}"
|
||||||
traefik:
|
traefik:
|
||||||
address: "{{ traefik_private_ip }}:8080"
|
address: "{{ private_ip }}:8080"
|
||||||
|
|
||||||
ping: {}
|
ping: {}
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ serversTransport:
|
||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
influxDB:
|
influxDB:
|
||||||
address: "{{ traefik_private_ip }}:38089"
|
address: "{{ private_ip }}:38089"
|
||||||
database: traefik
|
database: traefik
|
||||||
pushInterval: 30s
|
pushInterval: 30s
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue