-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
60 lines (54 loc) · 970 Bytes
/
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
version: "3"
services:
web:
build: web
env_file: .env
ports:
- 80:80
- 443:443
volumes:
# Projects files
- ${WEBSITES}:/var/www/html:rw,delegated
# Websites configuration
- ./web/vhosts:/etc/apache2/sites-enabled/:ro
# Logs
- ./web/logs:/var/log/apache2:rw,delegated
depends_on:
- mysql
# - redis
- solr
tty: true
mysql:
build: mysql
env_file: .env
ports:
- 3306:3306
volumes:
- mysql:/var/lib/mysql
tty: true
# redis:
# build: redis
# env_file: .env
# ports:
# - 6379:6379
# volumes:
# - redis:/data
# tty: true
mailhog:
image: mailhog/mailhog
env_file: .env
depends_on:
- web
restart: always
ports:
- 1025:1025
- 8025:8025
solr:
build: solr
volumes:
- ./solr/dist:/opt/solr/server/solr/solr5
ports:
- 8983:8983
volumes:
mysql: {}
# redis: {}