-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
68 lines (62 loc) · 1.54 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
59
60
61
62
63
64
65
66
67
68
version: "3.2"
services:
mongodb:
image: mongo:6
networks:
- superdesk
ports:
- "27017:27017"
redis:
image: redis:alpine
networks:
- superdesk
ports:
- "6379:6379"
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.1
environment:
- discovery.type=single-node
networks:
- superdesk
ports:
- "9200:9200"
server:
build: ./server
depends_on:
- redis
- mongodb
- elastic
environment:
- WEB_CONCURRENCY=2
- MONGO_URI=mongodb://mongodb/superdesk
- CONTENTAPI_MONGO_URI=mongodb://mongodb/superdesk_capi
- PUBLICAPI_MONGO_URI=mongodb://mongodb/superdesk_papi
- LEGAL_ARCHIVE_URI=mongodb://mongodb/superdesk_legal
- ARCHIVED_URI=mongodb://mongodb/superdesk_archive
- ELASTICSEARCH_URL=http://elastic:9200
- ELASTICSEARCH_INDEX=superdesk
- CELERY_BROKER_URL=redis://redis:6379/1
- REDIS_URL=redis://redis:6379/1
- DEFAULT_TIMEZONE=Europe/Prague
- SECRET_KEY=*k^&9)byk=8en9n1sg7-xj4f8wr2mh^x#t%_2=1=z@69oxt50!
# More configuration options can be found at https://superdesk.readthedocs.io/en/latest/settings.html
networks:
- superdesk
ports:
- "5000:5000"
develop:
watch:
- action: sync+restart
path: ./server
ignore:
- env/
- requirements.txt
client:
build: ./client
ports:
- "9000:9000"
networks:
- superdesk
networks:
superdesk:
driver: bridge