Move duplicati to its own role so it can be installed on grimes
This commit is contained in:
parent
b45d399734
commit
851f750948
6 changed files with 4 additions and 18 deletions
|
@ -25,6 +25,7 @@
|
|||
- watchtower
|
||||
- netdata
|
||||
- traefik
|
||||
- duplicati
|
||||
|
||||
- hosts: intersect
|
||||
roles:
|
||||
|
|
|
@ -12,8 +12,5 @@ services:
|
|||
- ./restore:/restore
|
||||
- /:/source:ro
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.duplicati.rule=Host(`duplicati.jakehoward.tech`)"
|
||||
- "traefik.http.routers.duplicati.tls.certresolver=le"
|
||||
- "traefik.http.routers.duplicati.middlewares=internal-only@file"
|
||||
ports:
|
||||
- 8200:8200
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
- name: Install duplicati compose file
|
||||
template:
|
||||
src: files/duplicati/docker-compose.yml
|
||||
src: files/docker-compose.yml
|
||||
dest: /opt/duplicati/docker-compose.yml
|
||||
mode: "{{ docker_compose_file_mask }}"
|
||||
owner: "{{ docker_user.name }}"
|
|
@ -1,9 +1,6 @@
|
|||
- name: Install calibre
|
||||
include: calibre.yml
|
||||
|
||||
- name: Install duplicati
|
||||
include: duplicati.yml
|
||||
|
||||
- name: Install emby
|
||||
include: emby.yml
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
internal_hostnames:
|
||||
- duplicati.jakehoward.tech
|
||||
- deluge.jakehoward.tech
|
||||
- speed.jakehoward.tech
|
||||
- pihole.jakehoward.tech
|
||||
|
|
|
@ -140,14 +140,6 @@ resource "cloudflare_record" "jakehowardtech_fah" {
|
|||
ttl = 1
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "jakehowardtech_duplicati" {
|
||||
zone_id = cloudflare_zone.jakehowardtech.id
|
||||
name = "duplicati"
|
||||
value = vultr_server.casey.main_ip
|
||||
type = "A"
|
||||
ttl = 1
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "jakehowardtech_deluge" {
|
||||
zone_id = cloudflare_zone.jakehowardtech.id
|
||||
name = "deluge"
|
||||
|
|
Loading…
Reference in a new issue