forked from globaldigitalheritage/arches-3d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-test.yml
55 lines (50 loc) · 1.13 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
version: '2'
services:
sut:
build:
context: .
dockerfile: ./Dockerfile
command: run_tests
environment:
- PGUSERNAME=postgres
- PGPASSWORD=postgres
- PGDBNAME=arches
- PGHOST=db
- PGPORT=5432
- SSLMODE=require
- ESHOST=elasticsearch
- ESPORT=9200
- COUCHDB_HOST=couchdb
- COUCHDB_PORT=5984
- COUCHDB_USER=admin
- COUCHDB_PASS=password
- DJANGO_MODE=PROD
- DJANGO_DEBUG=False
- DOMAIN_NAMES=localhost
- PYTHONUNBUFFERED=0
- TZ=PST
depends_on:
- db
- elasticsearch
- couchdb
db:
container_name: db
image: mdillon/postgis:9.6-alpine
ports:
- '5432:5432'
environment:
- POSTGRES_PASSWORD=postgres
- TZ=PST
elasticsearch:
container_name: elasticsearch
image: elasticsearch:5.2
ports:
- "9200:9200"
- "9300:9300"
environment:
- TZ=PST
couchdb:
container_name: couchdb
image: filiosoft/pouchdb:latest
ports:
- "5984:5984"