-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (48 loc) · 1.18 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:
postgres:
image: postgres
environment:
POSTGRES_PASSWORD: sentimantic
POSTGRES_USER: sentimantic
PGDATA: /var/lib/postgresql/data/sentimantic
ports:
- "54320:5432"
deploy:
replicas: 1
restart_policy:
condition: on-failure
volumes:
- ./.database:/var/lib/postgresql/data/sentimantic
lookup:
image: dbpedia/lookup
command: java -jar /opt/lookup/dbpedia-lookup-3.1-jar-with-dependencies.jar /opt/lookup/2015-10/
deploy:
replicas: 16
update_config:
parallelism: 16
delay: 20s
restart_policy:
condition: on-failure
ports:
- "1111:1111"
py2Env:
image: lorenzoranucci/sentimantic
build: ./
depends_on:
- postgres
- lookup
tty: true
volumes:
- ./:/home/Sentimantic
brat:
image: cassj/brat
volumes:
- ./snorkel/snorkel/contrib/brat/brat-v1.3_Crunchy_Frog/data:/bratdata
- ./snorkel/snorkel/contrib/brat/brat-v1.3_Crunchy_Frog/configurations:/bratcfg
environment:
BRAT_PASSWORD: brat
BRAT_USERNAME: brat
BRAT_EMAIL: [email protected]
ports:
- "8001:80"