Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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/tcp
- restart: always
- nginx:
- container_name: nginx_guacamole_compose
- restart: always
- image: nginx
- volumes:
- - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- - ./nginx/mysite.template:/etc/nginx/conf.d/mysite.template
- - ./nginx/ssl:/etc/nginx/ssl
- ports:
- - 8443:443
- links:
- - guacamole
- command: /bin/bash -c "apt-get -y update && apt-get -y install openssl && openssl req -nodes -newkey rsa:2048 -new -x509 -keyout /etc/nginx/ssl/self-ssl.key -out /etc/nginx/ssl/self.cert -subj '/C=DE/ST=BY/L=Hintertupfing/O=Dorfwirt/OU=Theke/CN=www.createyourown.domain/emailAddress=docker@createyourown.domain' && cp -f -s /etc/nginx/conf.d/mysite.template /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
Add Comment
Please, Sign In to add comment