forked from nmdp-bioinformatics/phycus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (39 loc) · 970 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '3.1'
services:
web:
depends_on:
- db
image: curation:latest
container_name: curation-interface
restart: always
ports:
- 8080:8080
environment:
- MYSQL_DATABASE_URL=jdbc:mysql://db:3306/hfcusdb
- MYSQL_USER=hfcus_user
- MYSQL_PASSWORD=hfcus_user1
command:
- /app/bash-start-java-tomcat.sh
db:
image: mysql:5.6
container_name: hfcus_mysql
restart: always
# Open the port in dev so you can connect from the application and SQL Tools eg. SQLDeveloper
ports:
- 3306:3306
environment:
MYSQL_DATABASE: hfcusdb
MYSQL_ROOT_PASSWORD: hfucsdb_root
MYSQL_USER: hfcus_user
MYSQL_PASSWORD: hfcus_user1
volumes:
- $PWD/db:/docker-entrypoint-initdb.d
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
environment:
- PMA_ARBITRARY=1
PMA_HOST=db
restart: always
ports:
- 9999:80