Fixed indentation
This commit is contained in:
parent
cdd438b5b8
commit
2c3745fc90
@ -1,49 +1,49 @@
|
|||||||
database-data:
|
database-data:
|
||||||
image: busybox
|
image: busybox
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.start_once: 'true'
|
io.rancher.container.start_once: 'true'
|
||||||
net: none
|
net: none
|
||||||
entrypoint: /bin/true
|
entrypoint: /bin/true
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/mysql
|
- /var/lib/mysql
|
||||||
- /docker-entrypoint-initdb.d
|
- /docker-entrypoint-initdb.d
|
||||||
database:
|
database:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: ${guacamole_db}
|
MYSQL_DATABASE: ${guacamole_db}
|
||||||
MYSQL_ONETIME_PASSWORD: 'true'
|
MYSQL_ONETIME_PASSWORD: 'true'
|
||||||
MYSQL_PASSWORD: ${guacamole_password}
|
MYSQL_PASSWORD: ${guacamole_password}
|
||||||
MYSQL_RANDOM_ROOT_PASSWORD: 'true'
|
MYSQL_RANDOM_ROOT_PASSWORD: 'true'
|
||||||
MYSQL_USER: ${guacamole_user}
|
MYSQL_USER: ${guacamole_user}
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- database-data
|
- database-data
|
||||||
labels:
|
labels:
|
||||||
io.rancher.sidekicks: setup-get-db-script
|
io.rancher.sidekicks: setup-get-db-script
|
||||||
setup-get-db-script:
|
setup-get-db-script:
|
||||||
image: glyptodon/guacamole:0.9.10-incubating
|
image: glyptodon/guacamole:0.9.10-incubating
|
||||||
network_mode: none
|
network_mode: none
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- database-data
|
- database-data
|
||||||
command:
|
command:
|
||||||
- bash
|
- bash
|
||||||
- -c
|
- -c
|
||||||
- /opt/guacamole/bin/initdb.sh --mysql > /docker-entrypoint-initdb.d/initdb.sql
|
- /opt/guacamole/bin/initdb.sh --mysql > /docker-entrypoint-initdb.d/initdb.sql
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.start_once: 'true'
|
io.rancher.container.start_once: 'true'
|
||||||
guacd:
|
guacd:
|
||||||
image: glyptodon/guacd:0.9.10-incubating
|
image: glyptodon/guacd:0.9.10-incubating
|
||||||
guacamole:
|
guacamole:
|
||||||
image: glyptodon/guacamole:0.9.10-incubating
|
image: glyptodon/guacamole:0.9.10-incubating
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: ${guacamole_db}
|
MYSQL_DATABASE: ${guacamole_db}
|
||||||
MYSQL_HOSTNAME: database
|
MYSQL_HOSTNAME: database
|
||||||
MYSQL_PASSWORD: ${guacamole_password}
|
MYSQL_PASSWORD: ${guacamole_password}
|
||||||
MYSQL_USER: ${guacamole_user}
|
MYSQL_USER: ${guacamole_user}
|
||||||
links:
|
links:
|
||||||
- guacd:guacd
|
- guacd:guacd
|
||||||
ports:
|
ports:
|
||||||
- ${public_port}:8080/tcp
|
- ${public_port}:8080/tcp
|
||||||
command:
|
command:
|
||||||
- /bin/bash
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
- cd /usr/local/tomcat/webapps;rm -rf ROOT/; ln -s guacamole.war ROOT.war; /opt/guacamole/bin/start.sh;
|
- cd /usr/local/tomcat/webapps;rm -rf ROOT/; ln -s guacamole.war ROOT.war; /opt/guacamole/bin/start.sh;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user