forked from superdesk/superdesk-ntb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.yml
106 lines (99 loc) · 2.8 KB
/
common.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
mongodb:
image: mongo:3
container_name: mongodb
volumes:
- ../data/mongodb:/data/db
redis:
image: redis:3
container_name: redis
volumes:
- ../data/redis:/data
logstash:
image: logstash:1.5
container_name: logstash
command: logstash -f /usr/share/logstash/logstash.conf
volumes:
- ./logstash:/usr/share/logstash
kibana:
build: kibana
container_name: kibana
restart: always
elastic:
image: elasticsearch:1.5
container_name: elastic
volumes:
- ../data/elastic:/usr/share/elasticsearch/data
postfix:
image: catatnight/postfix
container_name: postfix
environment:
- maildomain=mail.sourcefabric.org
- smtp_user=user:pwd
superdesk:
build: ../
container_name: superdesk
environment:
- MONGO_URI=mongodb://mongodb/test
- PUBLICAPI_MONGO_URI=mongodb://mongodb/test
- LEGAL_ARCHIVE_URI=mongodb://mongodb/test
- ELASTICSEARCH_URL=http://elastic:9200
- ELASTICSEARCH_INDEX
- CELERY_BROKER_URL=redis://redis:6379/1
- REDIS_URL=redis://redis:6379/1
- LOG_SERVER_ADDRESS=logstash
- LOG_SERVER_PORT=5555
- AMAZON_ACCESS_KEY_ID
- AMAZON_CONTAINER_NAME
- AMAZON_REGION
- AMAZON_SECRET_ACCESS_KEY
- REUTERS_USERNAME
- REUTERS_PASSWORD
- MAIL_SERVER=postfix
- MAIL_PORT=25
- MAIL_USE_TLS=false
- MAIL_USE_SSL=false
- MAIL_USERNAME=user
- MAIL_PASSWORD=pwd
- SENTRY_DSN
- SUPERDESK_URL=http://127.0.0.1/api
- SUPERDESK_WS_URL=ws://127.0.0.1/ws
- PUBLICAPI_URL=http://127.0.0.1/pubapi
- SUPERDESK_CLIENT_URL=http://127.0.0.1
- IFRAMELY_KEY
volumes:
- ../results/server/unit:/opt/superdesk/results-unit/
- ../results/server/behave:/opt/superdesk/results-behave/
- ../results/client/unit:/opt/superdesk/client/unit-test-results
pubapi:
build: ../superdesk-content-api
container_name: pubapi
command: sh /opt/superdesk-content-api/scripts/fig_wrapper.sh honcho start
environment:
- MONGO_URI=mongodb://mongodb/test
- PUBLICAPI_MONGO_URI=mongodb://mongodb/test
- LEGAL_ARCHIVE_URI=mongodb://mongodb/test
- ELASTICSEARCH_URL=http://elastic:9200
- ELASTICSEARCH_INDEX
- CELERY_BROKER_URL=redis://redis:6379/1
- REDIS_URL=redis://redis:6379/1
- LOG_SERVER_ADDRESS=logstash
- LOG_SERVER_PORT=5555
- AMAZON_ACCESS_KEY_ID
- AMAZON_CONTAINER_NAME
- AMAZON_REGION
- AMAZON_SECRET_ACCESS_KEY
- REUTERS_USERNAME
- REUTERS_PASSWORD
- MAIL_SERVER=postfix
- MAIL_PORT=25
- MAIL_USE_TLS=false
- MAIL_USE_SSL=false
- MAIL_USERNAME=user
- MAIL_PASSWORD=pwd
- SENTRY_DSN
- SUPERDESK_URL=http://127.0.0.1/api
- PUBLICAPI_URL=http://127.0.0.1/pubapi
- SUPERDESK_CLIENT_URL=http://127.0.0.1
volumes:
- ../superdesk-content-api/results/unit:/opt/superdesk-content-api/results-unit/
- ../superdesk-content-api/results/behave:/opt/superdesk-content-api/results-behave/