forked from archesproject/arches
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-test.yml
63 lines (59 loc) · 1.45 KB
/
docker-compose-test.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
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '2'
services:
sut:
build:
context: .
dockerfile: ./Dockerfile
command: run_tests
environment:
# - ARCHES_PROJECT=insert_project_name
- INSTALL_DEFAULT_GRAPHS=True
- INSTALL_DEFAULT_CONCEPTS=True
- PGUSERNAME=postgres
- PGPASSWORD=postgres
- PGDBNAME=arches
- PGHOST=sut_db
- PGPORT=5432
- COUCHDB_HOST=sut_couchdb
- COUCHDB_PORT=5984
- COUCHDB_USER=admin
- COUCHDB_PASS=password
- ESHOST=sut_es
- ESPORT=9200
# - ELASTICSEARCH_PREFIX=insert_project_name
- DJANGO_MODE=PROD
- DJANGO_DEBUG=False
- DOMAIN_NAMES=localhost
- PYTHONUNBUFFERED=0
- TZ=PST
ports:
- '8000:8000'
depends_on:
- sut_db
- sut_es
- sut_couchdb
sut_db:
container_name: sut_db
image: mdillon/postgis:9.6-alpine
ports:
- '5432:5432'
environment:
- POSTGRES_PASSWORD=postgres
- TZ=PST
sut_es:
container_name: sut_es
image: docker.elastic.co/elasticsearch/elasticsearch:6.7.1
ports:
- "9200:9200"
- "9300:9300"
environment:
- discovery.type=single-node
- TZ=PST
sut_couchdb:
container_name: sut_couchdb
image: couchdb:2.1.1
ports:
- "5984:5984"
environment:
COUCHDB_USER: admin
COUCHDB_PASSWORD: password