From d3653fed35f556e3dae911ccc3363a49482163ab Mon Sep 17 00:00:00 2001 From: emrekirman Date: Thu, 24 Jul 2025 20:39:33 +0000 Subject: [PATCH] 'guacamole/guacamole.yaml' ekle --- guacamole/guacamole.yaml | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 guacamole/guacamole.yaml diff --git a/guacamole/guacamole.yaml b/guacamole/guacamole.yaml new file mode 100644 index 0000000..9dcbedd --- /dev/null +++ b/guacamole/guacamole.yaml @@ -0,0 +1,48 @@ +version: '3.8' + +services: + guacd: + image: guacamole/guacd:1.6.0 + deploy: + replicas: 1 + restart_policy: + condition: on-failure + networks: + - guacamole-network + + guacamole: + image: guacamole/guacamole:1.6.0 + ports: + - "8083:8080" # Guacamole web arayüzü için port + environment: + GUACD_HOSTNAME: guacd + GUACD_PORT: 4822 + # PostgreSQL bağlantı bilgileri + POSTGRESQL_HOSTNAME: postgres-db # PostgreSQL container'ınızın IP'si veya servis adı + POSTGRESQL_PORT: 5432 + POSTGRESQL_DATABASE: guacamole_db + POSTGRESQL_USER: postgres + POSTGRESQL_PASSWORD: 98836 + networks: + - postgres_network + - traefik-public + - guacamole-network + depends_on: + - guacd # PostgreSQL servisine artık doğrudan bağımlı değiliz, çünkü o zaten var + deploy: + replicas: 1 # Yüksek erişilebilirlik için birden fazla replika kullanabilirsiniz + restart_policy: + condition: on-failure + labels: + - traefik.enable=true + - traefik.http.routers.rdp.rule=Host(`rdp.emrekirman.com`) + - traefik.http.routers.rdp.entrypoints=websecure + - traefik.http.routers.rdp.tls.certresolver=myresolver + - traefik.http.services.rdp.loadbalancer.server.port=8080 + - traefik.http.routers.rdp.service=rdp +networks: + postgres_network: + external: true + traefik-public: + external: true + guacamole-network: \ No newline at end of file