Actualiser docker-compose.yml
This commit is contained in:
@ -14,10 +14,11 @@ networks:
|
||||
services:
|
||||
# guacd
|
||||
guacd:
|
||||
container_name: guacd
|
||||
container_name: guacamole-guacd
|
||||
hostname: guacamole-guacd
|
||||
image: guacamole/guacd:latest
|
||||
networks:
|
||||
interne:
|
||||
- interne
|
||||
restart: always
|
||||
volumes:
|
||||
- ./drive:/drive:rw
|
||||
@ -25,19 +26,20 @@ services:
|
||||
|
||||
# postgres
|
||||
postgres:
|
||||
container_name: postgres
|
||||
container_name: guacamole-postgres
|
||||
hostname: guacamole-postgres
|
||||
environment:
|
||||
PGDATA: /var/lib/postgresql/data/guacamole
|
||||
POSTGRES_DB: guacamole_db
|
||||
POSTGRES_PASSWORD: 'PasswordHere123456'
|
||||
POSTGRES_PASSWORD: 'P@ssword!Here!123456'
|
||||
POSTGRES_USER: guacamole_user
|
||||
image: postgres:15.2-alpine
|
||||
image: postgres:15.6-alpine
|
||||
networks:
|
||||
interne:
|
||||
- interne
|
||||
restart: always
|
||||
volumes:
|
||||
- ./init:/docker-entrypoint-initdb.d:z
|
||||
- ./data:/var/lib/postgresql/data:
|
||||
- ./data:/var/lib/postgresql/data:rw
|
||||
|
||||
# guacamole
|
||||
guacamole:
|
||||
@ -47,10 +49,11 @@ services:
|
||||
- postgres
|
||||
environment:
|
||||
GUACD_HOSTNAME: guacd
|
||||
POSTGRES_DATABASE: guacamole_db
|
||||
POSTGRES_HOSTNAME: postgres
|
||||
POSTGRES_PASSWORD: 'PasswordHere123456'
|
||||
POSTGRESQL_PORT: 5432
|
||||
POSTGRES_DATABASE: guacamole_db
|
||||
POSTGRES_USER: guacamole_user
|
||||
POSTGRES_PASSWORD: 'P@ssword!Here!123456'
|
||||
LDAP_HOSTNAME: "10.0.4.2"
|
||||
LDAP_PORT: 389
|
||||
LDAP_ENCRYPTION_METHOD: "none"
|
||||
@ -64,7 +67,8 @@ services:
|
||||
links:
|
||||
- guacd
|
||||
networks:
|
||||
interne:
|
||||
- interne
|
||||
- externe
|
||||
# ports:
|
||||
## enable next line if not using nginx
|
||||
## - 8080:8080/tcp # Guacamole is on :8080/guacamole, not /.
|
||||
@ -75,7 +79,7 @@ services:
|
||||
- ./guacamole-config:/config
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.backend=guacamole"
|
||||
# - "traefik.backend=guacamole"
|
||||
# - "traefik.http.routers.bastion.rule=Host(`guacamole.tips-of-mine.local`)"
|
||||
# - "traefik.http.middlewares.guac-addprefix.addprefix.prefix=/guacamole"
|
||||
# - "traefik.http.services.bastion.loadbalancer.server.port=8080"
|
||||
|
Reference in New Issue
Block a user