forked from CenterForOpenScience/osf.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dist.override.yml
115 lines (104 loc) · 3.24 KB
/
docker-compose-dist.override.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
107
108
109
110
111
112
113
114
115
version: "3.4"
# Additional configuration for development on services linked with osf.io
# services:
# wb:
# volumes:
# - ../waterbutler:/code:cached
# wb_worker:
# volumes:
# - ../waterbutler:/code:cached
# wb_requirements:
# volumes:
# - ../waterbutler:/code:cached
# mfr:
# volumes:
# - ../modular-file-renderer:/code:cached
# mfr_requirements:
# volumes:
# - ../modular-file-renderer:/code:cached
# preprints:
# volumes:
# - ../ember-osf-preprints:/code:cached
#
## # Use this for ember-osf linked development:
## - preprints_dist_vol:/code/dist
## - ../ember-osf:/ember-osf
## depends_on:
## - emberosf
## command:
## - /bin/bash
## - -c
## - cd /ember-osf &&
## yarn link &&
## cd /code &&
## (rm -r node_modules || true) &&
## yarn --frozen-lockfile &&
## yarn link @centerforopenscience/ember-osf &&
## (rm -r bower_components || true) &&
## ./node_modules/.bin/bower install --allow-root --config.interactive=false &&
## yarn start --host 0.0.0.0 --port 4201 --live-reload-port 41954
# registries:
# volumes:
# - ../ember-osf-registries:/code:cached
#
## # Use this for ember-osf linked development:
## - registries_dist_vol:/code/dist
## - ../ember-osf:/ember-osf
## depends_on:
## - emberosf
## command:
## - /bin/bash
## - -c
## - cd /ember-osf &&
## yarn link &&
## cd /code &&
## (rm -r node_modules || true) &&
## yarn --frozen-lockfile &&
## yarn link @centerforopenscience/ember-osf &&
## yarn start --host 0.0.0.0 --port 4202 --live-reload-port 41955
# reviews:
# volumes:
# - ../ember-osf-reviews:/code:cached
#
## # Use this for ember-osf linked development:
## - reviews_dist_vol:/code/dist
## - ../ember-osf:/ember-osf
## depends_on:
## - emberosf
## command:
## - /bin/bash
## - -c
## - cd /ember-osf &&
## yarn link &&
## cd /code &&
## yarn link @centerforopenscience/ember-osf &&
## yarn --frozen-lockfile &&
## yarn start --host 0.0.0.0 --port 4203 --live-reload-port 41956
# # Use this for ember-osf linked development:
# emberosf:
# build: ../ember-osf
# command:
# - /bin/bash
# - -c
# - (rm -r node_modules || true) &&
# yarn --frozen-lockfile --ignore-engines &&
# (rm -r bower_components || true) &&
# ./node_modules/.bin/bower install --allow-root --config.interactive=false
# volumes:
# - ../ember-osf/:/code:nocopy
# ####################
# # RabbitMQ SSL
# # Enable this, place the certs in ./ssl, and uncomment the BROKER_USE_SSL dictionary in local.py
# # Uncomment lines under worker in docker-compose
# #####################
# rabbitmq:
# ports:
# - 5671:5671
# environment:
# RABBITMQ_SSL_CERTFILE: /etc/ssl/server_certificate.pem
# RABBITMQ_SSL_KEYFILE: /etc/ssl/server_key.pem
# RABBITMQ_SSL_CACERTFILE: /etc/ssl/ca_certificate.pem
# volumes:
# - ./ssl/celery-server.cert.pem:/etc/ssl/server_certificate.pem:ro
# - ./ssl/celery-server.key.pem:/etc/ssl/server_key.pem:ro
# - ./ssl/ca-chain.cert.pem:/etc/ssl/ca_certificate.pem:ro