Initial commit
This commit is contained in:
commit
1254e9a0dc
16
README.md
Normal file
16
README.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Guacamole Compose
|
||||||
|
|
||||||
|
This is just a docker compose file for apache guacamole
|
||||||
|
|
||||||
|
Instructions
|
||||||
|
Create the initial database schema from the guacamole image
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ ./bash setup.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
Thats it!
|
||||||
48
docker-compose.yml
Normal file
48
docker-compose.yml
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
version: '3.3'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
guacnet:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
|
services:
|
||||||
|
guacdb:
|
||||||
|
image: mariadb
|
||||||
|
volumes:
|
||||||
|
- ./dbdata:/var/lib/mysql
|
||||||
|
- ./init:/docker-entrypoint-initdb.d
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
guacnet:
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: guacamole3242
|
||||||
|
MYSQL_DATABASE: guac
|
||||||
|
MYSQL_USER: guac
|
||||||
|
MYSQL_PASSWORD: guac
|
||||||
|
|
||||||
|
guacd:
|
||||||
|
image: guacamole/guacd
|
||||||
|
networks:
|
||||||
|
guacnet:
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
guacamole:
|
||||||
|
image: guacamole/guacamole
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
volumes:
|
||||||
|
- ./.guac-data:/guachome
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- guacd
|
||||||
|
- guacdb
|
||||||
|
links:
|
||||||
|
- guacd
|
||||||
|
networks:
|
||||||
|
guacnet:
|
||||||
|
environment:
|
||||||
|
GUACD_HOSTNAME: guacd
|
||||||
|
GUACAMOLE_HOME: /guachome
|
||||||
|
MYSQL_DATABASE: guac
|
||||||
|
MYSQL_USER: guac
|
||||||
|
MYSQL_PASSWORD: guac
|
||||||
|
MYSQL_HOSTNAME: guacdb
|
||||||
Loading…
x
Reference in New Issue
Block a user