This repository was archived by the owner on Jan 17, 2019. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
130 lines (121 loc) · 3.82 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
130 lines (121 loc) · 3.82 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# -*- coding: utf-8 -*-
#
# This file is part of WEKO3.
# Copyright (C) 2017 National Institute of Informatics.
#
# WEKO3 is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# WEKO3 is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WEKO3; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307, USA.
web:
restart: "always"
build: .
command: /bin/bash -c "invenio run -h 0.0.0.0 && celery worker -A invenio_app.celery -l DEBUG"
environment:
- PATH=/home/invenio/.virtualenvs/invenio/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python
- INVENIO_WEB_HOST=127.0.0.1
- INVENIO_WEB_INSTANCE=invenio
- INVENIO_WEB_VENV=invenio
- INVENIO_USER_PASS=uspass123
- INVENIO_POSTGRESQL_HOST=postgresql
- INVENIO_POSTGRESQL_DBNAME=invenio
- INVENIO_POSTGRESQL_DBUSER=invenio
- INVENIO_POSTGRESQL_DBPASS=dbpass123
- INVENIO_REDIS_HOST=redis
- INVENIO_ELASTICSEARCH_HOST=elasticsearch
- INVENIO_RABBITMQ_HOST=rabbitmq
- INVENIO_WORKER_HOST=127.0.0.1
- INVENIO_FILES_LOCATION_NAME=local
- INVENIO_FILES_LOCATION_URI=/var/tmp
- INVENIO_ROLE_SYSTEM=System Administrator
- INVENIO_ROLE_REPOSITORY=Repository Administrator
- INVENIO_ROLE_CONTRIBUTOR=Contributor
- FLASK_DEBUG=1
volumes_from:
- static
links:
- postgresql
- redis
- elasticsearch
- rabbitmq
ports:
- "5001:5000"
postgresql:
restart: "always"
image: postgres
environment:
- POSTGRES_USER=invenio
- POSTGRES_DB=invenio
- POSTGRES_PASSWORD=dbpass123
ports:
- "25401:5432"
redis:
restart: "always"
image: redis
ports:
- "26301:6379"
elasticsearch:
restart: "always"
build: .
dockerfile: ./elasticsearch/Dockerfile
ports:
- "29201:9200"
- "29301:9300"
rabbitmq:
restart: "always"
image: rabbitmq
ports:
- "24301:4369"
- "45601:25672"
nginx:
restart: "always"
build: ./nginx
ports:
- "8001:80"
volumes_from:
- static
links:
- web
static:
restart: "no"
build: .
volumes:
- /home/invenio/.virtualenvs/invenio/var/instance/static
- /code/modules/invenio-files-rest/invenio_files_rest.egg-info
- /code/modules/invenio-oaiserver/invenio_oaiserver.egg-info
- /code/modules/weko-theme/weko_theme.egg-info
- /code/modules/weko-itemtypes-ui/weko_itemtypes_ui.egg-info
- /code/modules/weko-items-ui/weko_items_ui.egg-info
- /code/modules/weko-accounts/weko_accounts.egg-info
- /code/modules/weko-admin/weko_admin.egg-info
- /code/modules/weko-logging/weko_logging.egg-info
- /code/modules/weko-groups/weko_groups.egg-info
- /code/modules/weko-search-ui/weko_search_ui.egg-info
- /code/modules/weko-records/weko_records.egg-info
- /code/modules/weko-records-ui/weko_records_ui.egg-info
- /code/modules/weko-schema-ui/weko_schema_ui.egg-info
- /code/modules/weko-index-tree/weko_index_tree.egg-info
- /code/modules/weko-user-profiles/weko_user_profiles.egg-info
- /code/modules/weko-deposit/weko_deposit.egg-info
- /code/modules/weko-authors/weko_authors.egg-info
- /code/modules/weko-plugins/weko_plugins.egg-info
- /code/modules/weko-workflow/weko_workflow.egg-info
- .:/code
user: invenio
clamav:
restart: "always"
image: mkodockx/docker-clamav
ports:
- "3301:3310"