Skip to content

Commit c77af86

Browse files
committed
Removed port declarations from production Docker image
1 parent 00fda85 commit c77af86

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

compose.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@ services:
3535
PMA_HOST: ${DATABASE_HOST}
3636
PMA_PORT: ${DATABASE_PORT}
3737
PMA_USER: ${DATABASE_USERNAME}
38+
APACHE_PORT: 8080
3839
PMA_PASSWORD: ${DATABASE_PASSWORD}
3940
healthcheck:
4041
test: curl -f http://localhost
4142
retries: 3
4243
timeout: 5s
43-
ports:
44-
- "8080:80"
44+
expose:
45+
- "8080"
4546

4647
# https://hub.docker.com/_/varnish
4748
varnish:
@@ -57,8 +58,8 @@ services:
5758
test: wget -O - http://localhost/
5859
retries: 3
5960
timeout: 5s
60-
ports:
61-
- "80:80"
61+
expose:
62+
- "80"
6263

6364
# https://github.com/FlorianLeChat/Simple-File-Storage
6465
node:

0 commit comments

Comments
 (0)