mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2026-08-15 15:47:14 +02:00
Fix environment variable names in docker-compose
Updated environment variables for Guacamole service to use POSTGRESQL_USERNAME instead of POSTGRESQL_USER and added GUACAMOLE_HOME path.
This commit is contained in:
@@ -36,10 +36,11 @@ services:
|
|||||||
- postgres
|
- postgres
|
||||||
- gluetun
|
- gluetun
|
||||||
environment:
|
environment:
|
||||||
|
- GUACAMOLE_HOME=/etc/guacamole # pseudo home path; placed extensions and contents are moved to /opt/guacamole inside the container
|
||||||
- GUACD_HOSTNAME=localhost
|
- GUACD_HOSTNAME=localhost
|
||||||
- POSTGRESQL_HOSTNAME=localhost
|
- POSTGRESQL_HOSTNAME=localhost
|
||||||
- POSTGRESQL_DATABASE=guacamole_db
|
- POSTGRESQL_DATABASE=guacamole_db
|
||||||
- POSTGRESQL_USER=guacamole_user
|
- POSTGRESQL_USERNAME=guacamole_user
|
||||||
- POSTGRESQL_PASSWORD=ChooseYourOwnPasswordHere1234
|
- POSTGRESQL_PASSWORD=ChooseYourOwnPasswordHere1234
|
||||||
- OPENID_ENABLED=true
|
- OPENID_ENABLED=true
|
||||||
- OPENID_AUTHORIZATION_ENDPOINT=https://authentik.example.com/application/o/authorize/
|
- OPENID_AUTHORIZATION_ENDPOINT=https://authentik.example.com/application/o/authorize/
|
||||||
@@ -49,6 +50,8 @@ services:
|
|||||||
- OPENID_REDIRECT_URI=https://guacamole.example.com/guacamole
|
- OPENID_REDIRECT_URI=https://guacamole.example.com/guacamole
|
||||||
- OPENID_USERNAME_CLAIM_TYPE=preferred_username
|
- OPENID_USERNAME_CLAIM_TYPE=preferred_username
|
||||||
- OPENID_SCOPE=openid email profile
|
- OPENID_SCOPE=openid email profile
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/guacamole/customization/extensions:/etc/guacamole/extensions:ro
|
||||||
network_mode: container:gluetun
|
network_mode: container:gluetun
|
||||||
|
|
||||||
gluetun:
|
gluetun:
|
||||||
|
|||||||
Reference in New Issue
Block a user