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