Skip to content

Instantly share code, notes, and snippets.

@postworthy
Last active November 24, 2018 06:34
Show Gist options
  • Save postworthy/a7e059a94bef64cb7c83f1b63928785e to your computer and use it in GitHub Desktop.
Save postworthy/a7e059a94bef64cb7c83f1b63928785e to your computer and use it in GitHub Desktop.
guac-compose.yml
# The initial login to the guacamole webinterface is:
#
# Username: guacadmin
# Password: guacadmin
#
# Make sure you change it immediately!
#
#
version: '2.0'
services:
guacd:
container_name: guacd_compose
image: guacamole/guacd
restart: always
volumes:
- ./drive:/drive:rw
- ./record:/record:rw
postgres:
container_name: postgres_guacamole_compose
environment:
PGDATA: /var/lib/postgresql/data/guacamole
POSTGRES_DB: guacamole_db
POSTGRES_PASSWORD: postgres_guacamole_compose_password_1234!
POSTGRES_USER: guacamole_user
image: postgres
restart: always
volumes:
- ./init:/docker-entrypoint-initdb.d:ro
- ./data:/var/lib/postgresql/data:rw
guacamole:
container_name: guacamole_compose
depends_on:
- guacd
- postgres
environment:
GUACD_HOSTNAME: guacd
POSTGRES_DATABASE: guacamole_db
POSTGRES_HOSTNAME: postgres
POSTGRES_PASSWORD: postgres_guacamole_compose_password_1234!
POSTGRES_USER: guacamole_user
image: guacamole/guacamole
links:
- guacd
ports:
- 8080:8080
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment