Switch to new CleanURI (uritools) implementation

This commit is contained in:
Stefan Haun 2022-09-14 22:47:02 +02:00
parent f4544b2555
commit 69cce57024

View file

@ -8,7 +8,7 @@
data_dir: "/srv/data" data_dir: "/srv/data"
gitea_host_port: 9091 gitea_host_port: 9091
uritools_host_port: 8080
shlink_host_port: 8083 shlink_host_port: 8083
shlink_domain_name: sl.n39.eu shlink_domain_name: sl.n39.eu
@ -32,6 +32,13 @@
- role: penguineer.dehydrated_cron - role: penguineer.dehydrated_cron
- role: dd24-dyndns-cron - role: dd24-dyndns-cron
# variables are set in the inventory # variables are set in the inventory
- role: cleanuri
vars:
cleanuri_ui_domain: uritools.n39.eu
cleanuri_ui_host_port: 8090
cleanuri_api_domain: uritools-api.n39.eu
cleanuri_api_host_port: 8091
# RabbitMQ setup can be found in the inventory
tasks: tasks:
@ -89,25 +96,6 @@
- 3142:3142 - 3142:3142
- name: Ensure container for URI tools is running
docker_container:
name: uritools
image: mrtux/clean_uri:0.4.1
pull: true
state: started
detach: yes
ports:
- "127.0.0.1:{{ uritools_host_port }}:8080"
restart_policy: unless-stopped
- name: Setup proxy site uritools.n39.eu
include_role:
name: setup-http-site-proxy
vars:
site_name: uritools.n39.eu
proxy_port: "{{ uritools_host_port }}"
- name: Ensure container for shlink is running - name: Ensure container for shlink is running
docker_container: docker_container:
name: shlink name: shlink