forked from FACTycznie/factycznie-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (39 loc) · 936 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: '2'
services:
postgres:
image: postgres
restart: on-failure
redis:
image: redis:alpine
restart: on-failure
elasticsearch:
image: "elasticsearch:2.4-alpine"
restart: on-failure
ports:
- "9200:9200"
factcoin:
image: factcoin
links:
- postgres
- redis
- elasticsearch
ports:
- "2233:22"
- "8000:8000"
dns:
- 8.8.8.8
- 8.8.4.4
environment:
- "POSTGRES_PORT_5432_TCP_PORT=5432"
- "POSTGRES_PORT_5432_TCP_ADDR=postgres"
- "DJANGO_SETTINGS_MODULE=factcoin.settings.local"
- "BONSAI_URL=http://elasticsearch:9200/"
- "ELASTIC_USERNAME=elastic"
- "ELASTIC_PASSWORD=changeme"
volumes:
- $PWD/templates:/app/templates
- $PWD/factcoin:/app/factcoin
- $PWD/shared:/app/shared
- $PWD/static/js:/app/static/js
- $PWD/static/css:/app/static/css
restart: on-failure