-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
49 lines (45 loc) · 1.01 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
version: '2'
services:
web:
build:
context: .
args:
REQFILE: requirements-dev.txt
container_name: insitu.app
entrypoint: ["/usr/bin/tail", "-f", "/dev/null"]
environment:
- DJANGO_MIGRATE=yes
- DJANGO_COLLECT_STATIC=yes
- DJANGO_INDEX_CONTENT=no
- ELASTICSEARCH_TIMEOUT=60
- ALLOWED_HOSTS=0.0.0.0
- UWSGI_PORT=8000
- TIMEOUT=60
depends_on:
- db
volumes:
- static:/var/local/static
- logging:/var/local/copernicus/logging
db:
image: postgres:15-alpine
container_name: insitu.db
env_file:
- docker/db.env
volumes:
- data:/var/lib/postgresql/data
elasticsearch_test:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.1
container_name: insitu.elasticsearch_test
volumes:
- esdata_test:/usr/share/elasticsearch/data
ports:
- 9201:9201
volumes:
static:
driver: local
data:
driver: local
esdata_test:
driver: local
logging:
driver: local