mysqldb:
container_name: "db"
image:mysql
enviroment:
- MYSQL_DATABASE: sample
- MYSQL_USER: mysql
- MYSQL_PASSWORD: mysql
- MYSQL_ROOT_PASSWORD: secret
mywildfly:
image: arungupta/wildfly-mysql-javaee7
enviroment:
- MYSQL_URI=db:3306 (Port is defined here)
ports:
- 8080:8080
docker run
--name mysql-db
-e MYSQL_USER=mysql
-e MYSQL_PASSWORD=mysql
-e MYSQL_DATABASE=sample
-e MYSQL_ROOT_PASSWORD=secret
-d
mysql
docker run
--name mywildfly
--link mysqldb:db
-p 8080:8080
-d
arungupta/wildfly-mysql-javaee7
mysqldb:
image:mysql
enviroment:
- MYSQL_DATABASE: sample
- MYSQL_USER: mysql
- MYSQL_PASSWORD: mysql
- MYSQL_ROOT_PASSWORD: secret
mywildfly:
image: arungupta/wildfly-mysql-javaee7
links:
- mysqldb:db
docker run -d -p 8080:80 -v local_path_to_mooshak_data:/home/mooshak/data ruippeixotog/mooshak
couchbase1:
image: couchbase/server
volumes:
- ~/couchbase/node1:/home/user/nisham
couchbase2:
image: couchbase/server
volumes:
- ~/couchbase/node2:/home/user/nisham
ports:
- 8091:8091
- 8092:8092
- 8093:8093
sudo docker-compose up
sudo docker-compose ps
sudo docker-compose up -d
version: '3'
services:
emanback:
image: docker-emanbackend
ports:
- "6070:5050"
emanui:
image: docker-emanui
ports:
- "3033:3000"