-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
66 lines (62 loc) · 1.67 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
services:
aspen-dev-box:
image: aspendiscovery/aspen
volumes:
- "$ASPEN_DOCKER/dockerrun.sh:/start.sh"
- "$ASPEN_CLONE:/usr/local/aspen-discovery"
- "$ASPEN_DOCKER/site/:/usr/local/aspen-discovery/sites/test.localhostaspen"
- "$ASPEN_DOCKER/etc/apache2/sites-enabled:/etc/apache2/sites-enabled"
- "$ASPEN_DOCKER/site/conf/crontab_settings.txt:/etc/cron.d/cron"
- "$ASPEN_DOCKER/aliases:/root/.bashrc"
ports:
- "8083:80"
container_name: containeraspen
networks:
- kohadev_kohanet
platform: linux/x86_64
tty: true
depends_on:
aspen-db:
condition: service_healthy
aspen-db:
container_name: aspen-db
environment:
- MARIADB_ROOT_PASSWORD=aspen
- MARIADB_DATABASE=aspen
- MARIADB_USER=aspensuper
- MARIADB_PASSWORD=aspensuper
image: "mariadb"
volumes:
- $ASPEN_CLONE/install/aspen.sql:/docker-entrypoint-initdb.d/Aspen-db-startup.sql
- $ASPEN_DOCKER/database_start_scripts/ktd/account_profile.sql:/docker-entrypoint-initdb.d/zzz-init_account_profile.sql
healthcheck:
interval: 60s
retries: 10
test:
[
"CMD",
"healthcheck.sh",
"--su-mysql",
"--connect",
"--innodb_initialized"
]
networks:
- kohadev_kohanet
platform: linux/x86_64
solr:
image: aspendiscovery/solr
environment:
- SOLR_PORT=8084
- SOLR_HOST=solr
ports:
- "8084:8084"
deploy:
endpoint_mode: dnsrr
networks:
- kohadev_kohanet
depends_on:
- aspen-dev-box
networks:
kohadev_kohanet:
name: kohadev_kohanet
external: true