Compare commits
3 commits
8dfe2dc887
...
b46d7a15e7
Author | SHA1 | Date | |
---|---|---|---|
b46d7a15e7 | |||
975bea4553 | |||
5c197b25b2 |
9 changed files with 13 additions and 34 deletions
|
@ -32,6 +32,7 @@ all:
|
||||||
- influxdb_data
|
- influxdb_data
|
||||||
- jellyfin_config
|
- jellyfin_config
|
||||||
#- jellyfin_media # TODO
|
#- jellyfin_media # TODO
|
||||||
|
- minio_data
|
||||||
- ntfy_data
|
- ntfy_data
|
||||||
- reitanlage-oranienburg_data
|
- reitanlage-oranienburg_data
|
||||||
- synapse_media_store
|
- synapse_media_store
|
||||||
|
@ -39,16 +40,3 @@ all:
|
||||||
- teamspeak-fallback-data
|
- teamspeak-fallback-data
|
||||||
- uptime-kuma_data
|
- uptime-kuma_data
|
||||||
- vikunja_data
|
- vikunja_data
|
||||||
|
|
||||||
node003:
|
|
||||||
ansible_host: node003.vpn.serguzim.net
|
|
||||||
ansible_port: "{{ vault_node003.ansible_port }}"
|
|
||||||
ansible_user: "{{ vault_node003.ansible_user }}"
|
|
||||||
host_vpn:
|
|
||||||
domain: node003.vpn.serguzim.net
|
|
||||||
ip: 100.64.0.3
|
|
||||||
host_backup:
|
|
||||||
hc_uid: "{{ vault_node003.backup.hc_uid }}"
|
|
||||||
uptime_kuma_token: "{{ vault_node003.backup.uptime_kuma_token }}"
|
|
||||||
volumes:
|
|
||||||
- minio_data
|
|
||||||
|
|
|
@ -41,6 +41,8 @@
|
||||||
tags: [influxdb, sensors, monitoring]
|
tags: [influxdb, sensors, monitoring]
|
||||||
- role: jellyfin
|
- role: jellyfin
|
||||||
tags: [jellyfin, media]
|
tags: [jellyfin, media]
|
||||||
|
- role: minio
|
||||||
|
tags: [minio, storage]
|
||||||
- role: ntfy
|
- role: ntfy
|
||||||
tags: [ntfy, notifications, push]
|
tags: [ntfy, notifications, push]
|
||||||
- role: reitanlage_oranienburg
|
- role: reitanlage_oranienburg
|
||||||
|
|
13
node003.yml
13
node003.yml
|
@ -1,13 +0,0 @@
|
||||||
---
|
|
||||||
- name: Run roles for node003
|
|
||||||
hosts: node003
|
|
||||||
roles:
|
|
||||||
- role: common
|
|
||||||
tags: [always]
|
|
||||||
- role: backup
|
|
||||||
tags: [backup]
|
|
||||||
- role: caddy
|
|
||||||
tags: [caddy, reverse-proxy, webserver]
|
|
||||||
|
|
||||||
- role: minio
|
|
||||||
tags: [minio, storage]
|
|
|
@ -1,4 +1,7 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
|
backup_image: registry.serguzim.me/services/backup
|
||||||
|
|
||||||
backup_svc:
|
backup_svc:
|
||||||
name: backup
|
name: backup
|
||||||
|
|
||||||
|
@ -16,7 +19,7 @@ backup_env:
|
||||||
|
|
||||||
backup_compose:
|
backup_compose:
|
||||||
watchtower: false
|
watchtower: false
|
||||||
image: backup
|
image: "{{ backup_image }}"
|
||||||
volumes: "{{ backup_volumes_service }}"
|
volumes: "{{ backup_volumes_service }}"
|
||||||
file:
|
file:
|
||||||
services:
|
services:
|
||||||
|
@ -31,7 +34,7 @@ backup_compose:
|
||||||
mount:
|
mount:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
image: backup
|
image: "{{ backup_image }}"
|
||||||
restart: never
|
restart: never
|
||||||
hostname: "{{ ansible_facts.hostname }}"
|
hostname: "{{ ansible_facts.hostname }}"
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
@ -24,7 +24,7 @@ caddy_env:
|
||||||
|
|
||||||
caddy_compose:
|
caddy_compose:
|
||||||
watchtower: false
|
watchtower: false
|
||||||
image: caddy-custom:2-alpine
|
image: registry.serguzim.me/services/caddy:2-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- "./config:/etc/caddy/"
|
- "./config:/etc/caddy/"
|
||||||
- data:/data
|
- data:/data
|
||||||
|
|
|
@ -4,7 +4,7 @@ x-common-elements:
|
||||||
&common-elements
|
&common-elements
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
image: healthcheck
|
image: registry.serguzim.me/services/healthcheck
|
||||||
restart: never
|
restart: never
|
||||||
env_file:
|
env_file:
|
||||||
- service.env
|
- service.env
|
||||||
|
|
|
@ -13,7 +13,7 @@ reitanlage_oranienburg_svc:
|
||||||
|
|
||||||
reitanlage_oranienburg_compose:
|
reitanlage_oranienburg_compose:
|
||||||
watchtower: false
|
watchtower: false
|
||||||
image: grav
|
image: registry.serguzim.me/library/grav
|
||||||
volumes:
|
volumes:
|
||||||
- data:/var/www/html/
|
- data:/var/www/html/
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -3,6 +3,8 @@ wiki_js_svc:
|
||||||
domain: wiki.serguzim.me
|
domain: wiki.serguzim.me
|
||||||
name: wiki-js
|
name: wiki-js
|
||||||
port: 3000
|
port: 3000
|
||||||
|
caddy_extra: |
|
||||||
|
import analytics
|
||||||
db:
|
db:
|
||||||
host: "{{ postgres.host }}"
|
host: "{{ postgres.host }}"
|
||||||
port: "{{ postgres.port }}"
|
port: "{{ postgres.port }}"
|
||||||
|
|
|
@ -4,6 +4,3 @@
|
||||||
|
|
||||||
- name: Run playbook for node002
|
- name: Run playbook for node002
|
||||||
import_playbook: node002.yml
|
import_playbook: node002.yml
|
||||||
|
|
||||||
- name: Run playbook for node003
|
|
||||||
import_playbook: node003.yml
|
|
||||||
|
|
Reference in a new issue