-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
57 lines (51 loc) · 1.15 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
services:
laravel:
extends:
file: docker-compose-common.yml
service: laravel
ports:
- "80:80"
depends_on:
- mysql
- redis
#
# node:
# extends:
# file: docker-compose-common.yml
# service: node
# ports:
# - 5173:5173
# - 4173:4173
# command: npm run dev -- --host
# command: tail -f /dev/null
mysql:
extends:
file: docker-compose-common.yml
service: mysql
ports:
- "3306:3306"
redis:
extends:
file: docker-compose-common.yml
service: redis
ports:
- "6379:6379"
phpmyadmin:
extends:
file: docker-compose-common.yml
service: phpmyadmin
ports:
- "8080:80"
mailhog:
container_name: "${APP_NAME}-mailhog"
image: "mailhog/mailhog:latest"
ports:
- "1025:1025"
- "8025:8025"
networks:
mnr-network:
volumes:
mnr-mysql:
driver: local
mnr-redis:
driver: local