forked from hudmol/archivesspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (50 loc) · 1.46 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
version: '2'
services:
app:
build: .
ports:
- "8080:8080"
- "8081:8081"
- "8082:8082"
- "8089:8089"
- "8090:8090"
depends_on:
- db
- solr
environment:
APPCONFIG_DB_URL: 'jdbc:mysql://db:3306/archivesspace?useUnicode=true&characterEncoding=UTF-8&user=as&password=as123'
# disable the embedded solr
APPCONFIG_ENABLE_SOLR: 'false'
APPCONFIG_SOLR_URL: 'http://solr:8983/solr/archivesspace'
APPCONFIG_FRONTEND_PROXY_URL: 'http://localhost:8888/staff/'
APPCONFIG_OAI_PROXY_URL: 'http://localhost:8888/oai'
APPCONFIG_PUBLIC_PROXY_URL: 'http://localhost:8888/'
# testing plugin initialization on startup
ASPACE_INITIALIZE_PLUGINS: 'newrelic'
volumes:
- ./common/config/config.rb:/archivesspace/config/config.rb
- ./plugins/newrelic:/archivesspace/plugins/newrelic
db:
image: mysql:5.7
command: --character-set-server=utf8 --collation-server=utf8_unicode_ci --innodb_buffer_pool_size=2G --innodb_buffer_pool_instances=2
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: "123456"
MYSQL_DATABASE: archivesspace
MYSQL_USER: as
MYSQL_PASSWORD: as123
solr:
build:
context: ./solr
image: archivesspace/solr:7.1
command: solr-create -p 8983 -c archivesspace -d /archivesspace
ports:
- "8983:8983"
web:
build:
context: ./proxy
ports:
- "8888:80"
depends_on:
- app