-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
83 lines (83 loc) · 2.31 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: '2'
services:
mongo:
image: mongo:3.6
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.1
content:
image: quay.io/deconst/content-service
ports:
- "9000:8080"
environment:
STORAGE:
RACKSPACE_USERNAME:
RACKSPACE_APIKEY:
RACKSPACE_REGION:
RACKSPACE_SERVICENET:
ADMIN_APIKEY:
CONTENT_CONTAINER:
ASSET_CONTAINER:
MEMORY_ASSET_PREFIX:
MONGODB_URL: mongodb://mongo:27017/content
ELASTICSEARCH_HOST: http://elasticsearch:9200/
CONTENT_LOG_LEVEL: debug
CONTENT_LOG_COLOR: "true"
presenter:
image: quay.io/deconst/presenter
ports:
- "80:8080"
environment:
CONTROL_REPO_PATH:
CONTROL_REPO_URL:
CONTROL_REPO_BRANCH:
CONTENT_SERVICE_URL: http://content:8080/
PRESENTER_DIAGNOSTICS: "true"
PRESENTED_URL_PROTO:
PRESENTED_URL_DOMAIN:
PRESENTER_LOG_LEVEL: debug
PRESENTER_DEVMODE:
PRESENTER_LIVERELOAD:
PRESENTER_LOG_JSON: "false"
PRESENTER_LOG_COLOR: "true"
volumes:
- "${CONTROL_REPO_HOST_PATH}:${CONTROL_REPO_HOST_PATH}"
staging_content:
image: quay.io/deconst/content-service
ports:
- "9001:8080"
environment:
STORAGE:
RACKSPACE_USERNAME:
RACKSPACE_APIKEY:
RACKSPACE_REGION:
RACKSPACE_SERVICENET:
ADMIN_APIKEY:
CONTENT_CONTAINER: "staging-${CONTENT_CONTAINER}"
ASSET_CONTAINER: "staging-${ASSET_CONTAINER}"
MEMORY_ASSET_PREFIX: "${STAGING_MEMORY_ASSET_PREFIX}"
MONGODB_URL: mongodb://mongo:27017/content
MONGODB_PREFIX: staging_
CONTENT_LOG_LEVEL: debug
CONTENT_LOG_COLOR: "true"
PROXY_UPSTREAM: http://content:8080/
STAGING_MODE: "true"
staging_presenter:
image: quay.io/deconst/presenter
ports:
- "81:8080"
environment:
CONTROL_REPO_PATH: /tmp/git-control-repo
CONTROL_REPO_URL:
CONTROL_REPO_BRANCH:
CONTENT_SERVICE_URL: http://staging_content:8080/
PRESENTER_DIAGNOSTICS: "true"
PRESENTED_URL_PROTO:
PRESENTED_URL_DOMAIN:
PRESENTER_LOG_LEVEL: debug
PRESENTER_DEVMODE:
PRESENTER_LIVERELOAD:
PRESENTER_LOG_JSON: "false"
PRESENTER_LOG_COLOR: "true"
STAGING_MODE: "true"
volumes:
- "${CONTROL_REPO_HOST_PATH}:${CONTROL_REPO_PATH}"