forked from expresso-php/expresso-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (46 loc) · 876 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
version: '2'
services:
nginx:
build: docker/nginx
ports:
- 80
volumes:
- .:/var/www
php_nginx:
build: docker/php
volumes:
- .:/var/www
db:
image: mariadb
environment:
MYSQL_USER: expresso-php
MYSQL_PASSWORD: expresso-php
MYSQL_DATABASE: expresso-php
MYSQL_ROOT_PASSWORD: root
volumes:
- dbdata:/var/lib/mysql
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- 80
environment:
MYSQL_ROOT_PASSWORD: root
mailhog:
image: mailhog/mailhog
ports:
- 8025
# SOLR
# Uncomment below block of lines to enable SOLR.
# solr:
# image: solr
# ports:
# - "8983:8983"
# entrypoint:
# - docker-entrypoint.sh
# - solr-precreate
# - mycore
# END SOLR
volumes:
## persistent data volume for mysql data
dbdata:
driver: local