forked from IATI/IATI-Standard-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (38 loc) · 850 Bytes
/
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
version: '3.3'
services:
elk:
image: sebp/elk:es235_l234_k454
ports:
- "5601:5601"
- "5044:5044"
- "9200:9200"
web:
build:
context: .
dockerfile: .dockerfile
command: bash -c "celery -A iati worker -l info & python manage.py runserver 0.0.0.0:80"
volumes:
- ./:/usr/src/app
links:
- postgres
- elk
- rabbitmq
ports:
- 80:80
environment:
- DATABASE_URL=postgres://postgres:@postgres:5432/postgres
- SECRET_KEY=enter-a-long-unguessable-string-here
- ELASTICSEARCH_URL=http://elk:9200
- DJANGO_SETTINGS_MODULE=iati.settings.dev
postgres:
image: postgres:9.6
ports:
- 5432:5432
rabbitmq:
image: rabbitmq:latest
ports:
- 4369:4369
- 5671:5671
- 5672:5672
- 15672:15672
restart: always