Initial commit
This commit is contained in:
36
docker-compose.yml
Normal file
36
docker-compose.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
guacd:
|
||||
image: guacamole/guacd
|
||||
container_name: guacd
|
||||
restart: unless-stopped
|
||||
|
||||
mysql:
|
||||
image: mysql:8.0
|
||||
container_name: guac-mysql
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: rootpassword
|
||||
MYSQL_DATABASE: guacamole
|
||||
MYSQL_USER: guacuser
|
||||
MYSQL_PASSWORD: guacpassword
|
||||
volumes:
|
||||
- ./init:/docker-entrypoint-initdb.d
|
||||
|
||||
guacamole:
|
||||
image: guacamole/guacamole
|
||||
container_name: guacamole
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- guacd
|
||||
- mysql
|
||||
environment:
|
||||
GUACD_HOSTNAME: guacd
|
||||
MYSQL_HOSTNAME: mysql
|
||||
MYSQL_DATABASE: guacamole
|
||||
MYSQL_USER: guacuser
|
||||
MYSQL_PASSWORD: guacpassword
|
||||
ports:
|
||||
- "8080:8080"
|
||||
|
||||
Reference in New Issue
Block a user