forked from archivesspace/archivesspace
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
52 lines (52 loc) · 1.54 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
51
52
version: '3.7'
services:
app:
build: .
restart: on-failure
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'
# solr config
APPCONFIG_ENABLE_SOLR: 'false'
APPCONFIG_SOLR_URL: 'http://solr:8983/solr/archivesspace'
# proxy config
APPCONFIG_FRONTEND_PROXY_URL: 'http://localhost/staff/'
APPCONFIG_OAI_PROXY_URL: 'http://localhost/oai'
APPCONFIG_PUBLIC_PROXY_URL: 'http://localhost/'
# testing plugin initialization on startup
ASPACE_INITIALIZE_PLUGINS: 'newrelic'
JAVA_OPTS: "-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xss512k -Djavax.accessibility.assistive_technologies=''"
volumes:
- ./plugins/newrelic:/archivesspace/plugins/newrelic
db:
image: mysql:5.7
command: --character-set-server=utf8 --innodb_buffer_pool_size=2G --innodb_buffer_pool_instances=2 --log_bin_trust_function_creators=1
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: "123456"
MYSQL_DATABASE: archivesspace
MYSQL_USER: as
MYSQL_PASSWORD: as123
solr:
build:
context: ./solr
image: archivesspace/solr:8.2
command: solr-create -p 8983 -c archivesspace -d /archivesspace
ports:
- "8983:8983"
web:
build:
context: ./proxy
ports:
- "80:80"
depends_on:
- app