-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathdocker-compose.yml
50 lines (47 loc) · 1.22 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
49
50
version: '3.4'
services:
acc-text-api:
image: acctext/api:latest
networks:
- default
- datomic
ports: ["3001:3001"]
environment:
GF_ENDPOINT: "http://gf:8000"
DISPLAY_ERROR: "TRUE"
ENABLE_CACHE: "TRUE"
SHOW_FLAGS: "FALSE"
ENABLE_ENRICH: "FALSE"
ENABLE_REF_EXPR: "FALSE"
DB_IMPLEMENTATION: "datomic"
DB_URI: "datomic:free://datomic-transactor:4334/acc-text?password=datomic"
CONFIG_PATH: "/opt/acctext/config"
DATA_FILES: "/opt/acctext/data-files"
DICT_PATH: "/opt/acctext/dictionary"
DOCUMENT_PLANS: "/opt/acctext/document-plans"
ENABLED_LANGUAGES: "Eng"
ENABLED_READERS: ""
volumes:
- ./api/resources:/opt/acctext
depends_on:
- datomic-transactor
- gf
gf:
image: acctext/gf:latest
ports: ["8001:8000"]
datomic-transactor:
image: "gordonstratton/datomic-free-transactor:latest"
networks:
- datomic
environment:
DATOMIC_HOST: "datomic-transactor"
DATOMIC_ALT_HOST: "acc-text-api"
volumes:
- datomic:/srv/datomic/data
- ./transactor-logback.xml:/srv/datomic/bin/logback.xml
networks:
default:
datomic:
volumes:
datomic:
name: acc-text_datomic