Compare commits

..

No commits in common. "d4b6efe7486bbd2b34e47bc08518fdbfcae6f900" and "883678940eb4a91537163819daec5b5616f9f3e6" have entirely different histories.

2 changed files with 40 additions and 0 deletions

View File

@ -89,6 +89,10 @@
import_tasks: tasks/invoiceninja.yml
tags: invoiceninja_install
- name: Deploy Guacamole
import_tasks: tasks/guacamole.yml
tags: guacamole_install
- name: Deploy Homepage
import_tasks: tasks/homepage.yml
tags: homepage_install

36
tasks/guacamole.yml Normal file
View File

@ -0,0 +1,36 @@
---
- name: Create the guacd container
docker_container:
name: guacd
image: guacamole/guacd:1.5.5
restart_policy: unless-stopped
recreate: true
networks:
- name: proxy
- name: Create the guacamole container
docker_container:
name: guacamole
image: guacamole/guacamole:1.5.5
restart_policy: unless-stopped
recreate: true
networks:
- name: proxy
env:
MYSQL_DATABASE: "{{ GUAC_DB }}"
MYSQL_HOSTNAME: "{{ MYSQL_HOST }}"
MYSQL_USER: "{{ GUAC_USER }}"
MYSQL_PASSWORD: "{{ GUAC_DB_PASS }}"
GUACD_HOSTNAME: guacd
labels:
traefik.enable: "true"
traefik.http.routers.guacamole.rule: "Host(`remote.comprofix.xyz`)"
traefik.http.routers.guacamole.entrypoints: "https"
traefik.http.routers.guacamole.tls: "true"
traefik.http.services.guacamole.loadbalancer.server.port: "8080"
traefik.http.services.guacamole.loadbalancer.server.scheme: "http"