From a1bf59ba6f9f7a39789578828b118b9a8f923d7f Mon Sep 17 00:00:00 2001 From: jrodriiguezg Date: Sat, 15 Aug 2026 15:41:18 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20guacamole=5Fcompose.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- guacamole_compose.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 guacamole_compose.yaml diff --git a/guacamole_compose.yaml b/guacamole_compose.yaml new file mode 100644 index 0000000..876d994 --- /dev/null +++ b/guacamole_compose.yaml @@ -0,0 +1,35 @@ +services: + guacd: + image: guacamole/guacd:latest + container_name: guacd + restart: unless-stopped + + db: + image: postgres:15 + container_name: guac_db + environment: + POSTGRES_USER: user + POSTGRES_PASSWORD: '' + POSTGRES_DB: guacamole_db + volumes: + # Mapea el script generado en el paso anterior para que se autoejecute + - ./initdb.sql:/docker-entrypoint-initdb.d/initdb.sql + - ./data:/var/lib/postgresql/data + restart: unless-stopped + + guacamole: + image: guacamole/guacamole:latest + container_name: guacamole + environment: + GUACD_HOSTNAME: guacd + POSTGRESQL_HOSTNAME: db + POSTGRESQL_DATABASE: guacamole_db + POSTGRESQL_USER: user + POSTGRESQL_PASSWORD: '' + ports: + # Puerto expuesto para enlazar con cloudflared + - "8087:8080" + depends_on: + - guacd + - db + restart: unless-stopped \ No newline at end of file