Skip to content

Instantly share code, notes, and snippets.

@celldee
Created May 28, 2018 07:16
Show Gist options
  • Save celldee/0530d61d405b91107d8f9b12b0813e27 to your computer and use it in GitHub Desktop.
Save celldee/0530d61d405b91107d8f9b12b0813e27 to your computer and use it in GitHub Desktop.
Example Docker Compose .yml File for Apache Guacamole
version: "3"
services:
guac-postgres:
container_name: guac-postgres
image: postgres
environment:
- POSTGRES_PASSWORD=blahblahblah
volumes:
- home/fred/Projects/Guacamole/init-scripts:/docker-entrypoint-initdb.d
networks:
- guac_nw
deploy:
replicas: 1
ehaat-guacd:
container_name: ehaat-guacd
image: guacamole/guacd
networks:
- guac_nw
deploy:
replicas: 1
ehaat-guacamole:
container_name: ehaat-guacamole
image: guacamole/guacamole
volumes:
- /home/fred/Projects/Guacamole/guac_home:/root/guac_home
networks:
- guac_nw
environment:
- POSTGRES_DATABASE=guacamole_db
- POSTGRES_USER=guacamole_user
- POSTGRES_PASSWORD=blahblahblah
- POSTGRES_HOSTNAME=guac-postgres
- GUACD_HOSTNAME=ehaat-guacd
- GUACD_PORT=4822
- GUACAMOLE_HOME=/root/guac_home
ports:
- 8080:8080
deploy:
replicas: 1
networks:
guac_nw:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment