Skip to content

Commit 6b4e4d7

Browse files
committed
20211215 nextcloud_db - exposed port - master branch - PR 1 of 3
Pull Requests [PR387](SensorsIot/IOTstack#387), [PR388](SensorsIot/IOTstack#388), [PR389](SensorsIot/IOTstack#389) added a port mapping of `9322:3306` to facilitate backup and restores - so the routines could determine when the MariaDB service was ready for business. The need for this was superseded by PRs [416](SensorsIot/IOTstack#416), [417](SensorsIot/IOTstack#417) and [418](SensorsIot/IOTstack#418). It is sufficient for backup and restore routines to run the health check and rely on the return status. This PR removes the `9322:3306` as no longer needed. It will also avoid the need to protect the port with an iptables rule in situations where the host is exposed to the network. Documentation also updated. Signed-off-by: Phill Kelley <[email protected]>
1 parent f876d33 commit 6b4e4d7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

.templates/nextcloud/service.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ nextcloud_db:
2929
- MYSQL_PASSWORD=%randomMySqlPassword%
3030
- MYSQL_DATABASE=nextcloud
3131
- MYSQL_USER=nextcloud
32-
ports:
33-
- "9322:3306"
3432
volumes:
3533
- ./volumes/nextcloud/db:/config
3634
- ./volumes/nextcloud/db_backup:/backup

docs/Containers/NextCloud.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ nextcloud_db:
3333
- MYSQL_PASSWORD=«user_password»
3434
- MYSQL_DATABASE=nextcloud
3535
- MYSQL_USER=nextcloud
36-
ports:
37-
- "9322:3306"
3836
volumes:
3937
- ./volumes/nextcloud/db:/config
4038
- ./volumes/nextcloud/db_backup:/backup

0 commit comments

Comments
 (0)