forked from kasperisager/php-dockerized
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathdocker-compose.yml
58 lines (52 loc) · 913 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
front:
build: .
ports:
- "80:80"
- "443:443"
- "9000:9000"
links:
- mysql:mysql
- mariadb:mariadb
- mongo:mongo
- memcached:memcached
- redis:redis
- elasticsearch:elasticsearch
volumes:
- ./www:/var/www
- ./sites:/etc/nginx/conf.d
mysql:
image: mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: homestead
MYSQL_USER: homestead
MYSQL_PASSWORD: secret
mariadb:
image: mariadb
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: homestead
MYSQL_USER: homestead
MYSQL_PASSWORD: secret
TERM: dumb
mongo:
image: mongo
ports:
- "27017:27017"
memcached:
image: memcached
ports:
- "11211:11211"
redis:
image: redis
ports:
- "6379:6379"
elasticsearch:
image: elasticsearch
ports:
- "9200:9200"
- "9300:9300"