-
Notifications
You must be signed in to change notification settings - Fork 143
/
docker-compose-test.yml
50 lines (46 loc) · 1.12 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
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
- 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_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