forked from superdesk/superdesk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.yml
104 lines (96 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
mongodb:
image: mongo:2.6
volumes:
- ../data/mongodb:/data/db
redis:
image: redis:2.8
volumes:
- ../data/redis:/data
logstash:
image: logstash:1.5
command: logstash -f /usr/share/logstash/logstash.conf
volumes:
- logstash:/usr/share/logstash
kibana:
build: kibana
restart: always
elastic:
image: elasticsearch:1.5
volumes:
- ../data/elastic:/usr/share/elasticsearch/data
postfix:
image: catatnight/postfix
environment:
- maildomain=mail.sourcefabric.org
- smtp_user=user:pwd
backend:
build: ../server
command: sh /opt/superdesk/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
- SUPERDESK_TESTING=True
volumes:
- ../results/server/unit:/opt/superdesk/results-unit/
- ../results/server/behave:/opt/superdesk/results-behave/
pubapi:
build: ../superdesk-content-api
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
- SUPERDESK_TESTING=True
volumes:
- ../superdesk-content-api/results/unit:/opt/superdesk-content-api/results-unit/
- ../superdesk-content-api/results/behave:/opt/superdesk-content-api/results-behave/
frontend:
build: ../client
command: sh -c "grunt build --server='http://127.0.0.1/api' --ws='ws://127.0.0.1/ws' && nginx"
volumes:
- ../results/client/unit:/opt/superdesk-client/unit-test-results