121 lines
3.8 KiB
YAML
121 lines
3.8 KiB
YAML
---
|
|
- name: Set up the reverse proxy for external only services
|
|
hosts: caddy_external
|
|
become: true
|
|
roles:
|
|
# - role: caddy/install # Only needed the first setup
|
|
- role: caddy/proxy
|
|
vars:
|
|
domains:
|
|
- name: "thatshit.live"
|
|
dynamic_dns: true
|
|
sites:
|
|
- name: "draw"
|
|
host: "{{ lookup('hostip', 'portainer_main') }}"
|
|
port: 5001
|
|
- name: "paste"
|
|
host: "{{ lookup('hostip', 'portainer_main') }}"
|
|
port: 5009
|
|
- name: "do"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7076
|
|
- name: "drop"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7077
|
|
- name: "share"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7078
|
|
- name: "run"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7089
|
|
- name: "blinker.club"
|
|
host: "{{ lookup('hostip', 'portainer_main') }}"
|
|
port: 7575
|
|
dynamic_dns: true
|
|
sites:
|
|
- name: "pass"
|
|
host: "{{ lookup('hostip', 'portainer_main') }}"
|
|
port: 5004
|
|
- name: "watch"
|
|
host: "{{ lookup('hostip', 'streaming_services') }}"
|
|
port: 5001
|
|
- name: "memos"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7071
|
|
- name: "auth"
|
|
host: "{{ lookup('hostip', 'portainer_main') }}"
|
|
port: 4501
|
|
- name: "pdf"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7075
|
|
- name: "vaultwarden"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7072
|
|
- name: "mediarequest"
|
|
host: "{{ lookup('hostip', 'streaming_services') }}"
|
|
port: 5002
|
|
- name: "books"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7080
|
|
- name: "bookupload"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7081
|
|
- name: "postiz"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7084
|
|
- name: "javierfeliz.com"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7082
|
|
dynamic_dns: true
|
|
sites: []
|
|
- name: "thegrind.dev"
|
|
dynamic_dns: true
|
|
sites:
|
|
- name: "linkwarden"
|
|
host: "{{ lookup('hostip', 'portainer_main') }}"
|
|
port: 5010
|
|
- name: "blog"
|
|
host: "{{ lookup('hostip', 'portainer_main') }}"
|
|
port: 5007
|
|
- name: "tools"
|
|
host: "{{ lookup('hostip', 'portainer_main') }}"
|
|
port: 8989
|
|
- name: "auth"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7090
|
|
# Authentik
|
|
# host: "{{ lookup('hostip', 'portainer_main') }}"
|
|
# port: 4501
|
|
- name: "gist"
|
|
host: "{{ lookup('hostip', 'portainer_main') }}"
|
|
port: 5006
|
|
- name: "tasks"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7085
|
|
- name: "docs"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7083
|
|
- name: "melab.fyi"
|
|
dynamic_dns: true
|
|
sites:
|
|
- name: "files"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7086
|
|
- name: "automate"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7087
|
|
- name: "analytics"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7088
|
|
- name: "auth"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 7090
|
|
- name: "ravensofravnica.stream"
|
|
dynamic_dns: true
|
|
sites:
|
|
- name: "vtt"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 9010
|
|
- name: "filemanagement"
|
|
host: "{{ lookup('hostip', 'apps') }}"
|
|
port: 9011 |