37 lines
977 B
YAML
37 lines
977 B
YAML
|
---
|
||
|
- 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"
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|