generated from superdesk/newsroom-app
-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
58 lines (52 loc) · 1.39 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
50
51
52
53
54
55
56
57
58
version: "3.2"
services:
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.1
environment:
- discovery.type=single-node
networks:
- newsroom
redis:
image: redis:alpine
networks:
- newsroom
mongo:
image: mongo:4
networks:
- newsroom
server:
build: server
ports:
- "5050:5050"
- "5150:5150"
volumes:
- ./server/theme:/opt/newsroom/theme
- ./dump:/opt/newsroom/dump
networks:
- newsroom
depends_on:
- elastic
- redis
- mongo
- client
environment:
- WEB_CONCURRENCY=2
- WEBPACK_SERVER_URL=http://client:8080
- WEBPACK_ASSETS_URL=http://localhost:8080
- MONGO_URI=mongodb://mongo/newsroom
- CONTENTAPI_MONGO_URI=mongodb://mongo/newsroom
- ELASTICSEARCH_URL=http://elastic:9200
- ELASTICSEARCH_INDEX=newsroom
- CELERY_BROKER_URL=redis://redis:6379/1
- REDIS_URL=redis://redis:6379/1
- DEFAULT_TIMEZONE=Europe/Prague
- SECRET_KEY=newsroom
client:
build: client
ports:
- "8080:8080"
networks:
- newsroom
networks:
newsroom:
driver: bridge