forked from FTXInfotech/laravel-adminpanel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·51 lines (49 loc) · 934 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
version: "2"
services:
app:
image: lap-www
container_name: lap-www
build:
context: ./docker/app
dockerfile: Dockerfile
restart: always
ports:
- 8080:80
volumes:
- .:/var/www/html/
mysql:
container_name: lap-mysql
image: mysql:5.7
restart: always
ports:
- 13306:3306
volumes:
- mysql:/var/lib/mysql
environment:
MYSQL_DATABASE: laravel-admin-panel
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: admin
MYSQL_PASSWORD: admin
redis:
container_name: lap-redis
image: redis:4-alpine
restart: always
ports:
- 16379:6379
volumes:
- redis:/data
phpmyadmin:
container_name: lap-phpmyadmin
image: phpmyadmin/phpmyadmin
restart: always
ports:
- 8081:80
links:
- mysql
environment:
PMA_HOST: mysql
volumes:
mysql:
driver: "local"
redis:
driver: "local"