forked from CenterForOpenScience/osf.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
102 lines (84 loc) · 2.56 KB
/
docker-compose.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
version: "3"
services:
requirements:
volumes:
- osf-sync:/code:nocopy
assets:
volumes:
- osf-sync:/code:nocopy
admin_assets:
volumes:
- osf-sync:/code:nocopy
worker:
volumes:
- osf-sync:/code:nocopy
admin:
volumes:
- osf-sync:/code:nocopy
web:
volumes:
- osf-sync:/code:nocopy
api:
volumes:
- osf-sync:/code:nocopy
# Additional configuration for development on services linked with osf.io
# beat:
# volumes:
# - osf-sync:/code:nocopy
# fakecas:
# image: quay.io/centerforopenscience/fakecas:latest
# command: fakecas -host=0.0.0.0:8080 -dbaddress=172.19.0.7:27017
# wb:
# volumes:
# - wb-sync:/code:nocopy
# wb_worker:
# volumes:
# - wb-sync:/code:nocopy
# wb_requirements:
# volumes:
# - wb-sync:/code:nocopy
# mfr:
# volumes:
# - mfr-sync:/code:nocopy
# mfr_requirements:
# volumes:
# - mfr-sync:/code:nocopy
# preprints:
# volumes:
# - preprints-sync:/code:nocopy
#
## # Use this for ember-osf linked development (with docker-sync):
## - preprints_dist_vol:/code/dist
## - emberosf-sync:/ember-osf
## depends_on:
## - emberosf
## command: /bin/bash -c "cd /ember-osf && yarn link && cd /code && yarn link @centerforopenscience/ember-osf && yarn --pure-lockfile --ignore-engines && ./node_modules/bower/bin/bower install --allow-root --config.interactive=false && ./node_modules/ember-cli/bin/ember serve --host 0.0.0.0 --port 4200"
# registries:
# volumes:
# - registries-sync:/code:nocopy
#
## # Use this for ember-osf linked development (with docker-sync):
## - registries_dist_vol:/code/dist
## - emberosf-sync:/ember-osf
## depends_on:
## - emberosf
## command: /bin/bash -c "cd /ember-osf && yarn link && cd /code && yarn link @centerforopenscience/ember-osf && yarn --pure-lockfile --ignore-engines && ./node_modules/bower/bin/bower install --allow-root --config.interactive=false && ./node_modules/ember-cli/bin/ember serve --host 0.0.0.0 --port 4300"
# # Use this for ember-osf linked development (with docker-sync):
# emberosf:
# build: ../ember-osf
# command: /bin/bash -c "yarn --pure-lockfile --ignore-engines && ./node_modules/bower/bin/bower install --allow-root --config.interactive=false"
# volumes:
# - emberosf-sync:/code:nocopy
volumes:
osf-sync:
external: true
# wb-sync:
# external: true
# mfr-sync:
# external: true
# emberosf-sync:
# external: true
# preprints-sync:
# external: true
# registries-sync:
# external: true