Skip to content

Commit 7e08cfb

Browse files
authored
Adds quotes around exposed ports, exposes php's 9000 port
1 parent ad0a893 commit 7e08cfb

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

docker-compose.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
- UID=${UID:-1000}
1414
- GID=${GID:-1000}
1515
ports:
16-
- 80:80
16+
- "80:80"
1717
volumes:
1818
- ./src:/var/www/html:delegated
1919
depends_on:
@@ -29,7 +29,7 @@ services:
2929
restart: unless-stopped
3030
tty: true
3131
ports:
32-
- 3306:3306
32+
- "3306:3306"
3333
environment:
3434
MYSQL_DATABASE: homestead
3535
MYSQL_USER: homestead
@@ -47,6 +47,8 @@ services:
4747
args:
4848
- UID=${UID:-1000}
4949
- GID=${GID:-1000}
50+
ports:
51+
- "9000:9000"
5052
volumes:
5153
- ./src:/var/www/html:delegated
5254
networks:
@@ -56,7 +58,7 @@ services:
5658
image: redis:alpine
5759
restart: unless-stopped
5860
ports:
59-
- 6379:6379
61+
- "6379:6379"
6062
networks:
6163
- laravel
6264

@@ -80,9 +82,9 @@ services:
8082
volumes:
8183
- ./src:/var/www/html
8284
ports:
83-
- 3000:3000
84-
- 3001:3001
85-
- 5173:5173
85+
- "3000:3000"
86+
- "3001:3001"
87+
- "5173:5173"
8688
working_dir: /var/www/html
8789
entrypoint: [ 'npm' ]
8890
networks:
@@ -106,7 +108,7 @@ services:
106108
mailhog:
107109
image: mailhog/mailhog:latest
108110
ports:
109-
- 1025:1025
110-
- 8025:8025
111+
- "1025:1025"
112+
- "8025:8025"
111113
networks:
112114
- laravel

0 commit comments

Comments
 (0)