-
Notifications
You must be signed in to change notification settings - Fork 29
/
docker-compose.yml
58 lines (58 loc) · 1.4 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
version: '3'
services:
tomcat:
build:
context: ./etc/docker
dockerfile: ./Dockerfile-tomcat
image: brightspot-training-tomcat
hostname: training.brightspot
ports:
- 5005:5005
volumes:
- .:/code:cached
- $HOME/.aws/credentials:/etc/aws/credentials:cached
- storage-data:/servers/tomcat/storage
environment:
- ROOT_WAR=/code/web/build/libs/web.war
- CONTEXT_PROPERTIES=/code/docker-context.properties
- LOGGING_PROPERTIES=/code/docker-logging.properties
- AWS_PROFILE=psd-training
- SOLR_URL=http://solr:8080/solr/collection1
solr:
build:
context: ./etc/docker
dockerfile: ./Dockerfile-solr
image: brightspot-training-solr
ports:
- 8081:8080
volumes:
- solr-data:/var/solr/data/collection1/data
apache:
image: brightspot/apache:2-dims3
ports:
- 80:80
- 443:443
volumes:
- storage-data:/var/www/localhost/htdocs/storage
mysql:
image: brightspot/mysql:mysql5.6
ports:
- 3306:3306
volumes:
- mysql-data:/var/lib/mysql
- mysql-logs:/var/log/mysql
- ./etc/docker/data:/docker-entrypoint-initdb.d:ro
greenmail:
image: greenmail/standalone:1.6.14
ports:
- 3025:3025
- 3110:3110
- 3143:3143
- 3465:3465
- 3993:3993
- 3995:3995
volumes:
mysql-data:
mysql-logs:
solr-data:
storage-data: