-
Notifications
You must be signed in to change notification settings - Fork 244
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
67 lines (64 loc) · 1.66 KB
/
docker-compose-dev.yml
File metadata and controls
67 lines (64 loc) · 1.66 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
# docker-compose -f docker-compose-dev.yml build
# docker-compose -f docker-compose-dev.yml up --detach
version: '3.8'
name: archivesspace-dev
services:
db1:
container_name: as_dev_db
image: mysql:8
command: --character-set-server=UTF8MB4 --innodb_buffer_pool_size=2G --innodb_buffer_pool_instances=2 --log_bin_trust_function_creators=1
ports:
- "3306:3306"
env_file:
- .env.docker.db
volumes:
- as_dev_db-data:/var/lib/mysql
- ./build/mysql_db_fixtures:/docker-entrypoint-initdb.d
db2:
container_name: as_test_db
image: mysql:8
command: --character-set-server=UTF8MB4 --innodb_buffer_pool_size=2G --innodb_buffer_pool_instances=2 --log_bin_trust_function_creators=1
ports:
- "3307:3306"
env_file:
- .env.docker.db
volumes:
- as_test_db-data:/var/lib/mysql
solr1:
container_name: as_dev_solr
build:
context: ./solr
command:
- solr-precreate
- archivesspace
- /opt/solr/server/solr/configsets/archivesspace
ports:
- "8983:8983"
volumes:
- as_dev_solr-data:/var/solr
solr2:
container_name: as_test_solr
build:
context: ./solr
command:
- solr-precreate
- archivesspace
- /opt/solr/server/solr/configsets/archivesspace
ports:
- "8984:8983"
volumes:
- as_test_solr-data:/var/solr
proxy:
image: nginx:1.21
container_name: as_proxy
ports:
- "80:80"
volumes:
- ./proxy/default.prefix.conf:/etc/nginx/conf.d/default.conf
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
as_dev_db-data:
as_test_db-data:
as_dev_solr-data:
as_test_solr-data: