Compare commits
No commits in common. "ea037209f68285cda425f99df7d2b9fb16f2a8f6" and "c68590a025efb3e4bd232cff5f42ca3c0bd26344" have entirely different histories.
ea037209f6
...
c68590a025
5 changed files with 7 additions and 49 deletions
|
@ -45,8 +45,6 @@
|
||||||
tags: [ntfy, notifications, push]
|
tags: [ntfy, notifications, push]
|
||||||
- role: reitanlage_oranienburg
|
- role: reitanlage_oranienburg
|
||||||
tags: [reitanlage-oranienburg, website]
|
tags: [reitanlage-oranienburg, website]
|
||||||
- role: shlink
|
|
||||||
tags: [shlink, url-shortener]
|
|
||||||
- role: synapse
|
- role: synapse
|
||||||
tags: [synapse, matrix, communication]
|
tags: [synapse, matrix, communication]
|
||||||
- role: tandoor
|
- role: tandoor
|
||||||
|
|
|
@ -7,10 +7,8 @@ faas_svc:
|
||||||
extra_svcs:
|
extra_svcs:
|
||||||
- domain: link.serguzim.me
|
- domain: link.serguzim.me
|
||||||
faas_function: url-mapper
|
faas_function: url-mapper
|
||||||
- domain: serguzim.me
|
- domain: msrg.cc
|
||||||
faas_function: webpage-serguzim-me
|
faas_function: webpage-msrg-cc
|
||||||
www_domain: true
|
|
||||||
hsts: true
|
|
||||||
caddy_extra: |
|
caddy_extra: |
|
||||||
header /.well-known/* Access-Control-Allow-Origin *
|
header /.well-known/* Access-Control-Allow-Origin *
|
||||||
|
|
||||||
|
@ -22,6 +20,10 @@ faas_svc:
|
||||||
rewrite * /.well-known/webfinger/{user}.json
|
rewrite * /.well-known/webfinger/{user}.json
|
||||||
import faas webpage-msrg-cc
|
import faas webpage-msrg-cc
|
||||||
}
|
}
|
||||||
|
- domain: serguzim.me
|
||||||
|
faas_function: webpage-serguzim-me
|
||||||
|
www_domain: true
|
||||||
|
hsts: true
|
||||||
- domain: team-leon.eu
|
- domain: team-leon.eu
|
||||||
faas_function: webpage-team-leon-eu
|
faas_function: webpage-team-leon-eu
|
||||||
www_domain: true
|
www_domain: true
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
---
|
|
||||||
- name: Set common facts
|
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
|
||||||
|
|
||||||
- name: Deploy {{ svc.name }}
|
|
||||||
vars:
|
|
||||||
svc: "{{ shlink_svc }}"
|
|
||||||
env: "{{ shlink_env }}"
|
|
||||||
compose: "{{ shlink_compose }}"
|
|
||||||
block:
|
|
||||||
- name: Import tasks to deploy common service
|
|
||||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
|
|
@ -1,30 +0,0 @@
|
||||||
---
|
|
||||||
shlink_svc:
|
|
||||||
domain: msrg.cc
|
|
||||||
name: shlink
|
|
||||||
port: 8080
|
|
||||||
|
|
||||||
shlink_env:
|
|
||||||
DEFAULT_DOMAIN: "{{ shlink_svc.domain }}"
|
|
||||||
IS_HTTPS_ENABLED: true
|
|
||||||
TIMEZONE: "{{ timezone }}"
|
|
||||||
|
|
||||||
DEFAULT_SHORT_CODES_LENGTH: 8
|
|
||||||
MULTI_SEGMENT_SLUGS_ENABLED: false
|
|
||||||
SHORT_URL_TRAILING_SLASH: true
|
|
||||||
REDIRECT_APPEND_EXTRA_PATH: true
|
|
||||||
DEFAULT_BASE_URL_REDIRECT: "https://www.serguzim.me/"
|
|
||||||
|
|
||||||
DB_DRIVER: postgres
|
|
||||||
DB_HOST: "{{ postgres.host }}"
|
|
||||||
DB_PORT: "{{ postgres.port }}"
|
|
||||||
DB_NAME: shlink
|
|
||||||
DB_USER: "{{ vault_shlink.db.user }}"
|
|
||||||
DB_PASSWORD: "{{ vault_shlink.db.pass }}"
|
|
||||||
|
|
||||||
DISABLE_TRACKING: true
|
|
||||||
SKIP_INITIAL_GEOLITE_DOWNLOAD: true
|
|
||||||
|
|
||||||
shlink_compose:
|
|
||||||
watchtower: true
|
|
||||||
image: shlinkio/shlink
|
|
|
@ -9,7 +9,7 @@ telegraf_svc:
|
||||||
prometheus_unprotected:
|
prometheus_unprotected:
|
||||||
urls:
|
urls:
|
||||||
- http://node002.vpn.serguzim.net:2019/metrics
|
- http://node002.vpn.serguzim.net:2019/metrics
|
||||||
- https://matrix.serguzim.me/_synapse/metrics
|
- https://matrix.msrg.cc/_synapse/metrics
|
||||||
- https://push.serguzim.me/metrics
|
- https://push.serguzim.me/metrics
|
||||||
- https://tick.serguzim.me/metrics
|
- https://tick.serguzim.me/metrics
|
||||||
- https://todo.serguzim.me/api/v1/metrics
|
- https://todo.serguzim.me/api/v1/metrics
|
||||||
|
|
Reference in a new issue