--- - name: Set up the reverse proxy for external only services hosts: caddy_external become: true roles: - role: caddy/install - 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: "upload" host: "{{ lookup('hostip', 'apps') }}" port: 7077 - name: "drop" host: "{{ lookup('hostip', 'apps') }}" port: 7077 - name: "share" host: "{{ lookup('hostip', 'apps') }}" port: 7078 - name: "convert" host: "{{ lookup('hostip', 'apps') }}" port: 7079 - name: "blinker.club" host: "{{ lookup('hostip', 'portainer_main') }}" port: 7575 dynamic_dns: true sites: - name: "pass" host: "{{ lookup('hostip', 'portainer_main') }}" port: 5004 - name: "tables" host: "{{ lookup('hostip', 'portainer_main') }}" port: 5005 - 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: "linkwarden" host: "{{ lookup('hostip', 'portainer_main') }}" port: 5010 - name: "vaultwarden" host: "{{ lookup('hostip', 'apps') }}" port: 7072 - name: "mediarequest" host: "{{ lookup('hostip', 'streaming_services') }}" port: 5002 - name: "fileshare" host: "{{ lookup('hostip', 'apps') }}" port: 7073 - name: "thegrind.dev" dynamic_dns: true sites: - name: "blog" host: "{{ lookup('hostip', 'portainer_main') }}" port: 5007 - name: "tools" host: "{{ lookup('hostip', 'portainer_main') }}" port: 8989 - name: "auth" host: "{{ lookup('hostip', 'portainer_main') }}" port: 4501 - name: "gist" host: "{{ lookup('hostip', 'portainer_main') }}" port: 5006 - name: "tianji" host: "{{ lookup('hostip', 'apps') }}" port: 7074 - name: "tasks" host: "{{ lookup('hostip', 'apps') }}" port: 7070