-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (47 loc) · 1.02 KB
/
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
48
version: '3'
services:
web:
build:
context: ./app/client/
dockerfile: Dockerfile.web
ports:
- "3000:3000"
volumes:
- ./:/var/www/treption
depends_on:
- api
api:
build:
context: ./app/server/
dockerfile: Dockerfile.api
container_name: treption
ports:
- "5000:5000"
depends_on:
- db
- postagger
volumes:
- ./:/opt/code
db:
command: --disable-partition-engine-check # Check more info about this command at: https://github.com/docker-library/mysql/issues/361
ports:
- 3306:3306
volumes:
- ./app/db:/docker-entrypoint-initdb.d
- ./app/db:/etc/mysql/conf.d
image: mysql:5.7
environment:
- MYSQL_DATABASES=treption
- MYSQL_ROOT_PASSWORD=root
postagger:
build:
context: .
dockerfile: Dockerfile.corenlp
ports:
- 9000:9000
fuseki:
image: stain/jena-fuseki
ports:
- 3030:3030
environment:
ADMIN_PASSWORD: "pw123"