-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
93 lines (82 loc) · 1.74 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: '3.7'
services:
httpd:
build: docker/httpd
depends_on:
- php
- phpmyadmin
- mongo-express
- mail
volumes:
- ./public:/var/www/html/public:ro
- ./docker/httpd/sites:/etc/apache2/sites-enabled:ro
ports:
- '80:80'
- '443:443'
php:
hostname: php
build: docker/php
depends_on:
- mysql
- mongo
- mail
- solr
environment:
- SSH_AUTH_SOCK
volumes:
- ./:/var/www/html
- $SSH_AUTH_SOCK:$SSH_AUTH_SOCK
mysql:
image: 'mariadb:10.5'
ports:
- '3306:3306'
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- ./docker/mysql:/docker-entrypoint-initdb.d
- mysql:/var/lib/mysql
mongo:
hostname: mongo
image: 'mongo:4.0'
ports:
- '27017:27017'
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
volumes:
- ./docker/mongo:/docker-entrypoint-initdb.d
- mongo:/data/db
solr:
hostname: solr
image: 'eactive/integrated-solr:8.4'
ports:
- '8983:8983'
volumes:
- ./docker/solr:/docker-entrypoint-initdb.d
- solr:/var/solr
phpmyadmin:
image: 'phpmyadmin/phpmyadmin:latest'
depends_on:
- mysql
environment:
PMA_HOST: mysql
PMA_USER: root
PMA_PASSWORD: root
mongo-express:
image: mongo-express
depends_on:
- mongo
environment:
ME_CONFIG_MONGODB_URL: 'mongodb://integrated:integrated@mongo:27017/integrated'
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: root
mail:
image: 'mailhog/mailhog:latest'
ports:
- '8025:8025'
networks:
default:
volumes:
mysql:
mongo:
solr: