Skip to content

Commit

Permalink
Remove needlessly published ports from examples
Browse files Browse the repository at this point in the history
Publishing the FPM port can even be dangerous if the image is run using
docker, which manipulates firewalls to provide access from the public to
all published ports.
  • Loading branch information
pabzm committed Nov 8, 2024
1 parent a1aab3c commit 6182616
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions examples/docker-compose-fpm-alpine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ services:
- roundcubedb
links:
- roundcubedb
ports:
- 9000:9000
volumes:
- ./www:/var/www/html
environment:
Expand All @@ -27,8 +25,6 @@ services:
image: postgres:alpine
container_name: roundcubedb
# restart: unless-stopped
ports:
- 5432:5432
volumes:
- ./db/postgres:/var/lib/postgresql/data
environment:
Expand Down
4 changes: 0 additions & 4 deletions examples/docker-compose-fpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ services:
- roundcubedb
links:
- roundcubedb
ports:
- 9000:9000
volumes:
- ./www:/var/www/html
environment:
Expand All @@ -27,8 +25,6 @@ services:
image: postgres:latest
container_name: roundcubedb
# restart: unless-stopped
ports:
- 5432:5432
volumes:
- ./db/postgres:/var/lib/postgresql/data
environment:
Expand Down
3 changes: 0 additions & 3 deletions examples/docker-compose-mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ services:
# restart: unless-stopped
volumes:
- ./db/mysql:/var/lib/mysql
ports:
- 34010:5432
- 33006:3306
environment:
- MYSQL_ROOT_PASSWORD=roundcube-mysql-pw
- MYSQL_DATABASE=roundcubemail
Expand Down

0 comments on commit 6182616

Please sign in to comment.