File tree 2 files changed +12
-15
lines changed
2 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 1
1
# Global
2
2
. * .swp
3
3
.DS_Store
4
-
5
- # Web
6
- web /*
7
4
data /
8
5
9
6
# SSL Certs
Original file line number Diff line number Diff line change 1
- version : ' 3 '
1
+ version : " 3 "
2
2
services :
3
3
# NGNIX & PHP IMAGE
4
4
app :
@@ -7,20 +7,20 @@ services:
7
7
dockerfile : Dockerfile
8
8
image : laravel-docker/app:latest
9
9
networks :
10
- - appnet
10
+ - appnet
11
11
volumes :
12
- - ./web:/var/www/html
12
+ - ./web:/var/www/html
13
13
ports :
14
- - ${APP_PORT}:80
14
+ - ${APP_PORT}:80
15
15
working_dir : /var/www/html
16
16
17
17
# REDIS IMAGE
18
18
cache :
19
19
image : redis:alpine
20
20
networks :
21
- - appnet
21
+ - appnet
22
22
volumes :
23
- - cachedata:/data
23
+ - cachedata:/data
24
24
25
25
# MYSQL IMAGE
26
26
db :
@@ -31,11 +31,11 @@ services:
31
31
MYSQL_USER : ${MYSQL_USER}
32
32
MYSQL_PASSWORD : ${MYSQL_PASSWORD}
33
33
ports :
34
- - ${DB_PORT}:3306
34
+ - ${DB_PORT}:3306
35
35
networks :
36
- - appnet
36
+ - appnet
37
37
volumes :
38
- - dbdata:/var/lib/mysql
38
+ - dbdata:/var/lib/mysql
39
39
40
40
# Nodejs IMAGE
41
41
node :
@@ -44,11 +44,11 @@ services:
44
44
dockerfile : Dockerfile
45
45
image : laravel-docker/node:latest
46
46
networks :
47
- - appnet
47
+ - appnet
48
48
volumes :
49
- - ./web:/opt
49
+ - ./web:/opt
50
50
working_dir : /opt
51
- command : echo hi
51
+ command : Hello, Node js here ;)
52
52
53
53
# PHPMyAdmin Image
54
54
myadmin :
You can’t perform that action at this time.
0 commit comments