Manifests/guacamole/guacamole.yaml

48 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: