-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (43 loc) · 966 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
42
43
44
45
46
47
version: "3"
services:
selenium:
image: selenium/standalone-chrome
ports:
- "4444:4444"
ohmage_test_setup:
build:
context: .
dockerfile: ./test/ohmage_test_setup/Dockerfile
image: mobilizingcs/pam_ohmage_ohmage_test_setup
depends_on:
- ohmage
environment:
- OHMAGE_SERVER=ohmage
- OHMAGE_SERVER_PORT=8080
pam_ohmage_build:
volumes:
- pam_ohmage_build:/pam_ohmage/bin
build:
context: .
dockerfile: ./Dockerfile_Build
image: mobilizingcs/pam_ohmage_build
ohmage:
image: ohmage/server
ports:
- "8080:8080"
depends_on:
- db
environment:
- DB_HOST=db
- MYSQL_DATABASE=ohmage
- MYSQL_USER=ohmage
- MYSQL_PASSWORD=ohmage
db:
image: mysql:5.6
environment:
- MYSQL_ROOT_PASSWORD=setmebetter
- MYSQL_DATABASE=ohmage
- MYSQL_USER=ohmage
- MYSQL_PASSWORD=ohmage
volumes:
pam_ohmage_build: