-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
108 lines (106 loc) · 9.74 KB
/
docker-compose.dev.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
# Local development stack for Knowledge Commons Works
# including bind mounts for local copies of installed python files
#
# Usage::
#
# $ docker-compose --file docker-compose.yml --file docker-compose.dev.yml up -d
#
# Following services are included:
# - Frontend: Nginx (exposed ports: 80 and 443)
# - Cache: Redis (exposed port: 6379)
# - UI application: UWSGI (not exposed)
# - API application: UWSGI (not exposed)
# - Cache: Redis (exposed port: 6379)
# - DB: (PostgresSQL) (exposed port: 5432 or 3306)
# - Message queue: RabbitMQ (exposed ports: 5672, 15672)
# - Search platform: (OpenSearch) (exposed ports: 9200, 9300)
# - OpenSearch Dashboard (view OS indices) (exposed ports: 5601)
#
services:
web-ui:
extends:
file: docker-compose.yml
service: web-ui
volumes:
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-record-importer-kcworks:/opt/invenio/site/kcworks/dependencies/invenio-record-importer-kcworks
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-communities:/opt/invenio/site/kcworks/dependencies/invenio-communities
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-group-collections-kcworks:/opt/invenio/site/kcworks/dependencies/invenio-group-collections-kcworks
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-modular-deposit-form:/opt/invenio/site/kcworks/dependencies/invenio-modular-deposit-form
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-modular-detail-page:/opt/invenio/site/kcworks/dependencies/invenio-modular-detail-page
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-rdm-records:/opt/invenio/site/kcworks/dependencies/invenio-rdm-records
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-records-resources:/opt/invenio/site/kcworks/dependencies/invenio-records-resources
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-remote-api-provisioner:/opt/invenio/site/kcworks/dependencies/invenio-remote-api-provisioner
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-remote-user-data-kcworks:/opt/invenio/site/kcworks/dependencies/invenio-remote-user-data-kcworks
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-vocabularies:/opt/invenio/site/kcworks/dependencies/invenio-vocabularies
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/flask_security:/usr/local/lib/python3.9/site-packages/flask_security
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_app_rdm:/usr/local/lib/python3.9/site-packages/invenio_app_rdm
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_accounts:/usr/local/lib/python3.9/site-packages/invenio_accounts
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_drafts_resources:/usr/local/lib/python3.9/site-packages/invenio_drafts_resources
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_files_rest:/usr/local/lib/python3.9/site-packages/invenio_files_rest
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_indexer:/usr/local/lib/python3.9/site-packages/invenio_indexer
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_oauthclient:/usr/local/lib/python3.9/site-packages/invenio_oauthclient
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_pidstore:/usr/local/lib/python3.9/site-packages/invenio_pidstore
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_requests:/usr/local/lib/python3.9/site-packages/invenio_requests
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_saml:/usr/local/lib/python3.9/site-packages/invenio_saml
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_search:/usr/local/lib/python3.9/site-packages/invenio_search
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_search_ui:/usr/local/lib/python3.9/site-packages/invenio_search_ui
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_stats:/usr/local/lib/python3.9/site-packages/invenio_stats
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_users_resources:/usr/local/lib/python3.9/site-packages/invenio_users_resources
web-api:
extends:
file: docker-compose.yml
service: web-api
volumes:
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-communities:/opt/invenio/site/kcworks/dependencies/invenio-communities
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-group-collections-kcworks:/opt/invenio/site/kcworks/dependencies/invenio-group-collections-kcworks
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-modular-deposit-form:/opt/invenio/site/kcworks/dependencies/invenio-modular-deposit-form
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-modular-detail-page:/opt/invenio/site/kcworks/dependencies/invenio-modular-detail-page
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-rdm-records:/opt/invenio/site/kcworks/dependencies/invenio-rdm-records
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-records-resources:/opt/invenio/site/kcworks/dependencies/invenio-records-resources
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-remote-api-provisioner:/opt/invenio/site/kcworks/dependencies/invenio-remote-api-provisioner
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-remote-user-data-kcworks:/opt/invenio/site/kcworks/dependencies/invenio-remote-user-data-kcworks
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-record-importer-kcworks:/opt/invenio/site/kcworks/dependencies/invenio-record-importer-kcworks
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-vocabularies:/opt/invenio/site/kcworks/dependencies/invenio-vocabularies
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/flask_security:/usr/local/lib/python3.9/site-packages/flask_security
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_app_rdm:/usr/local/lib/python3.9/site-packages/invenio_app_rdm
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_accounts:/usr/local/lib/python3.9/site-packages/invenio_accounts
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_drafts_resources:/usr/local/lib/python3.9/site-packages/invenio_drafts_resources
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_files_rest:/usr/local/lib/python3.9/site-packages/invenio_files_rest
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_indexer:/usr/local/lib/python3.9/site-packages/invenio_indexer
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_oauthclient:/usr/local/lib/python3.9/site-packages/invenio_oauthclient
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_pidstore:/usr/local/lib/python3.9/site-packages/invenio_pidstore
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_requests:/usr/local/lib/python3.9/site-packages/invenio_requests
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_saml:/usr/local/lib/python3.9/site-packages/invenio_saml
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_search:/usr/local/lib/python3.9/site-packages/invenio_search
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_search_ui:/usr/local/lib/python3.9/site-packages/invenio_search_ui
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_stats:/usr/local/lib/python3.9/site-packages/invenio_stats
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_users_resources:/usr/local/lib/python3.9/site-packages/invenio_users_resources
worker:
extends:
file: docker-compose.yml
service: worker
volumes:
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-communities:/opt/invenio/site/kcworks/dependencies/invenio-communities
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-group-collections-kcworks:/opt/invenio/site/kcworks/dependencies/invenio-group-collections-kcworks
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-modular-deposit-form:/opt/invenio/site/kcworks/dependencies/invenio-modular-deposit-form
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-modular-detail-page:/opt/invenio/site/kcworks/dependencies/invenio-modular-detail-page
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-rdm-records:/opt/invenio/site/kcworks/dependencies/invenio-rdm-records
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-record-importer-kcworks:/opt/invenio/site/kcworks/dependencies/invenio-record-importer-kcworks
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-records-resources:/opt/invenio/site/kcworks/dependencies/invenio-records-resources
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-remote-api-provisioner:/opt/invenio/site/kcworks/dependencies/invenio-remote-api-provisioner
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-remote-user-data-kcworks:/opt/invenio/site/kcworks/dependencies/invenio-remote-user-data-kcworks
- ${PYTHON_LOCAL_GIT_PACKAGES_PATH}/invenio-vocabularies:/opt/invenio/site/kcworks/dependencies/invenio-vocabularies
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/flask_security:/usr/local/lib/python3.9/site-packages/flask_security
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_app_rdm:/usr/local/lib/python3.9/site-packages/invenio_app_rdm
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_accounts:/usr/local/lib/python3.9/site-packages/invenio_accounts
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_drafts_resources:/usr/local/lib/python3.9/site-packages/invenio_drafts_resources
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_files_rest:/usr/local/lib/python3.9/site-packages/invenio_files_rest
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_indexer:/usr/local/lib/python3.9/site-packages/invenio_indexer
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_oauthclient:/usr/local/lib/python3.9/site-packages/invenio_oauthclient
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_pidstore:/usr/local/lib/python3.9/site-packages/invenio_pidstore
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_requests:/usr/local/lib/python3.9/site-packages/invenio_requests
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_saml:/usr/local/lib/python3.9/site-packages/invenio_saml
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_search:/usr/local/lib/python3.9/site-packages/invenio_search
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_search_ui:/usr/local/lib/python3.9/site-packages/invenio_search_ui
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_stats:/usr/local/lib/python3.9/site-packages/invenio_stats
- ${PYTHON_LOCAL_SITE_PACKAGES_PATH}/invenio_users_resources:/usr/local/lib/python3.9/site-packages/invenio_users_resources