Actualiser docker-compose.yml
All checks were successful
Deployment Verification / deploy-and-test (push) Successful in 41s
All checks were successful
Deployment Verification / deploy-and-test (push) Successful in 41s
This commit is contained in:
@@ -9,10 +9,10 @@ networks:
|
|||||||
#### SERVICES
|
#### SERVICES
|
||||||
services:
|
services:
|
||||||
### guacd
|
### guacd
|
||||||
guacd:
|
guacamole-guacd:
|
||||||
container_name: guacamole-guacd
|
container_name: guacamole-guacd
|
||||||
hostname: guacamole-guacd
|
hostname: guacamole-guacd
|
||||||
image: guacamole/guacd:latest
|
image: guacamole/guacd:${GUACAMOLE_VERSION}
|
||||||
networks:
|
networks:
|
||||||
- back_network_guacamole
|
- back_network_guacamole
|
||||||
restart: always
|
restart: always
|
||||||
@@ -21,16 +21,16 @@ services:
|
|||||||
- ./record:/var/lib/guacamole/recordings:rw
|
- ./record:/var/lib/guacamole/recordings:rw
|
||||||
|
|
||||||
### postgres
|
### postgres
|
||||||
postgres:
|
guacamole-postgres:
|
||||||
container_name: guacamole-postgres
|
container_name: guacamole-postgres
|
||||||
hostname: guacamole-postgres
|
hostname: guacamole-postgres
|
||||||
image: ${POSTGRES_IMAGE_TAG}
|
image: ${POSTGRES_IMAGE_TAG}
|
||||||
environment:
|
environment:
|
||||||
PGDATA: ${POSTGRE_DB_DATA}
|
PGDATA: ${POSTGRE_DB_DATA}
|
||||||
POSTGRES_DB: ${POSTGRE_DB_NAME}
|
POSTGRES_DB: ${POSTGRE_DB_NAME}
|
||||||
POSTGRES_PASSWORD: ${POSTGRE_DB_PASSWORD}
|
POSTGRES_PASSWORD: $[POSTGRE_DB_PASSWORD}
|
||||||
POSTGRES_USER: ${POSTGRE_DB_USER}
|
POSTGRES_USER: ${POSTGRE_DB_USER}
|
||||||
TZ: Europe/Paris
|
TZ: ${TIMER}
|
||||||
networks:
|
networks:
|
||||||
- back_network_guacamole
|
- back_network_guacamole
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -40,56 +40,59 @@ services:
|
|||||||
retries: 10
|
retries: 10
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./init:/docker-entrypoint-initdb.d:ro
|
- ./init:/docker-entrypoint-initdb.d:z
|
||||||
- ./data:/var/lib/postgresql/data:rw
|
- ./data:/var/lib/postgresql/data:z
|
||||||
|
|
||||||
### adminer
|
### adminer
|
||||||
adminer:
|
# adminer:
|
||||||
container_name: guacamole-adminer
|
# container_name: guacamole-adminer
|
||||||
hostname: guacamole-adminer
|
# hostname: guacamole-adminer
|
||||||
depends_on:
|
# depends_on:
|
||||||
- postgres
|
# - guacamole-postgres
|
||||||
image: adminer
|
# image: adminer
|
||||||
restart: always
|
# restart: always
|
||||||
networks:
|
# networks:
|
||||||
- back_network_guacamole
|
# - back_network_guacamole
|
||||||
- traefik_front_network
|
# - traefik_front_network
|
||||||
labels:
|
# labels:
|
||||||
- "traefik.enable=true"
|
# - "traefik.enable=true"
|
||||||
- "traefik.docker.network=traefik_front_network"
|
# - "traefik.docker.network=traefik_front_network"
|
||||||
# HTTP
|
# HTTP
|
||||||
- "traefik.http.routers.adminer-http.rule=Host(`adminer.tips-of-mine.com`)"
|
# - "traefik.http.routers.adminer-http.rule=Host(`adminer.tips-of-mine.com`)"
|
||||||
- "traefik.http.routers.adminer-http.entrypoints=http"
|
# - "traefik.http.routers.adminer-http.entrypoints=http"
|
||||||
- "traefik.http.routers.adminer-http.priority=49"
|
# - "traefik.http.routers.adminer-http.priority=49"
|
||||||
# HTTPS
|
# HTTPS
|
||||||
- "traefik.http.routers.adminer-https.rule=Host(`adminer.tips-of-mine.com`)"
|
# - "traefik.http.routers.adminer-https.rule=Host(`adminer.tips-of-mine.com`)"
|
||||||
- "traefik.http.routers.adminer-https.entrypoints=https"
|
# - "traefik.http.routers.adminer-https.entrypoints=https"
|
||||||
- "traefik.http.routers.adminer-https.tls=true"
|
# - "traefik.http.routers.adminer-https.tls=true"
|
||||||
- "traefik.http.routers.adminer-https.priority=50"
|
# - "traefik.http.routers.adminer-https.priority=50"
|
||||||
- "traefik.http.routers.adminer.service=adminer-service"
|
# - "traefik.http.routers.adminer.service=adminer-service"
|
||||||
# Middleware
|
# Middleware
|
||||||
# Service
|
# Service
|
||||||
- "traefik.http.services.adminer-service.loadbalancer.server.port=8080"
|
# - "traefik.http.services.adminer-service.loadbalancer.server.port=8080"
|
||||||
|
|
||||||
### guacamole
|
### guacamole
|
||||||
guacamole:
|
guacamole:
|
||||||
container_name: guacamole-app
|
container_name: guacamole-app
|
||||||
hostname: guacamole-app
|
hostname: guacamole-app
|
||||||
image: guacamole/guacamole:latest
|
image: guacamole/guacamole:${GUACAMOLE_VERSION}
|
||||||
|
group_add:
|
||||||
|
- "1000"
|
||||||
depends_on:
|
depends_on:
|
||||||
- guacd
|
- guacamole-guacd
|
||||||
- postgres
|
- guacamole-postgres
|
||||||
environment:
|
environment:
|
||||||
### GUACD
|
### GUACD
|
||||||
GUACD_HOME: "/opt/guac_home"
|
GUACD_HOME: "/opt/guac_home"
|
||||||
GUACD_HOSTNAME: guacd
|
GUACD_HOSTNAME: guacamole-guacd
|
||||||
|
GUACD_PORT: 4822
|
||||||
RECORDING_SEARCH_PATH: "/var/lib/guacamole/recordings"
|
RECORDING_SEARCH_PATH: "/var/lib/guacamole/recordings"
|
||||||
### PostgreSQL
|
### PostgreSQL
|
||||||
POSTGRES_HOSTNAME: postgres
|
POSTGRESQL_HOSTNAME: guacamole-postgres
|
||||||
POSTGRESQL_PORT: 5432
|
POSTGRESQL_PORT: 5432
|
||||||
POSTGRES_DATABASE: guacamole_db
|
POSTGRESQL_DATABASE: ${POSTGRE_DB_NAME}
|
||||||
POSTGRES_USER: guacamole_user
|
POSTGRESQL_USER: ${POSTGRE_DB_USER}
|
||||||
POSTGRES_PASSWORD: 'P@ssword!Here!123456'
|
POSTGRESQL_PASSWORD: $[POSTGRE_DB_PASSWORD}
|
||||||
### Active Directory
|
### Active Directory
|
||||||
# Controler de domaine
|
# Controler de domaine
|
||||||
# LDAP_HOSTNAME: "10.0.4.4"
|
# LDAP_HOSTNAME: "10.0.4.4"
|
||||||
@@ -129,7 +132,8 @@ services:
|
|||||||
# TOTP_PERIOD: 60
|
# TOTP_PERIOD: 60
|
||||||
# TOTP_MODE: sha1
|
# TOTP_MODE: sha1
|
||||||
links:
|
links:
|
||||||
- guacd
|
- guacamole-guacd
|
||||||
|
- guacamole-postgres
|
||||||
networks:
|
networks:
|
||||||
- traefik_front_network
|
- traefik_front_network
|
||||||
- back_network_guacamole
|
- back_network_guacamole
|
||||||
@@ -140,9 +144,9 @@ services:
|
|||||||
# - 8080/tcp
|
# - 8080/tcp
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./guacamole-config:/config
|
- ./guacamole-config:/config:rw
|
||||||
- ./guac_home:/opt/guac_home
|
- ./guac_home:/opt/guac_home:rw
|
||||||
- ./record:/var/lib/guacamole/recordings:ro
|
- ./record:/var/lib/guacamole/recordings:rw
|
||||||
- ./drive:/drive:rw
|
- ./drive:/drive:rw
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
Reference in New Issue
Block a user