Skip to content

Commit 4091157

Browse files
feat: PHP 容器限制端口访问 (#26)
1 parent 93c33e2 commit 4091157

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/php5/versions/5.6.40/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
- ./log:/var/log/php
1414
- ./composer:/tmp/composer
1515
ports:
16-
- ${PANEL_APP_PORT_HTTP}:9000
16+
- 127.0.0.1:${PANEL_APP_PORT_HTTP}:9000
1717
labels:
1818
createdBy: "Apps"
1919
networks:

apps/php7/versions/7.4.33/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
- ./log:/var/log/php
1414
- ./composer:/tmp/composer
1515
ports:
16-
- ${PANEL_APP_PORT_HTTP}:9000
16+
- 127.0.0.1:${PANEL_APP_PORT_HTTP}:9000
1717
labels:
1818
createdBy: "Apps"
1919
networks:

apps/php8/versions/8.2.0/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
- ./log:/var/log/php
1414
- ./composer:/tmp/composer
1515
ports:
16-
- ${PANEL_APP_PORT_HTTP}:9000
16+
- 127.0.0.1:${PANEL_APP_PORT_HTTP}:9000
1717
labels:
1818
createdBy: "Apps"
1919
networks:

0 commit comments

Comments
 (0)