'guacamole/guacamole.yaml' ekle
This commit is contained in:
parent
8128c0cf1d
commit
d3653fed35
48
guacamole/guacamole.yaml
Normal file
48
guacamole/guacamole.yaml
Normal file
|
|
@ -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:
|
||||
Loading…
Reference in New Issue
Block a user