VPS - fix Nextcloud connectivity, pull errors, and persistence#9343
Open
afiand wants to merge 2 commits into
Open
VPS - fix Nextcloud connectivity, pull errors, and persistence#9343afiand wants to merge 2 commits into
afiand wants to merge 2 commits into
Conversation
…rsistence - Fix "getaddrinfo for db failed" by adding an internal network. - Fix Redis pull failure by correcting image name to lowercase. - Correcting volume path case for MariaDB. - Add 'config' volume to persist settings across restarts. - Add 'traefik.docker.network' label for multi-network routing.
Contributor
Stephane-Bautista
left a comment
There was a problem hiding this comment.
Agree with that review
Apply the same networking, persistence and Traefik routing fixes from the EN guide to the French version: add internal network for db/redis/app, add persistent config volume, declare traefik.docker.network label.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of Pull Request is this?
Description
1. Networking & DNS Resolution
internalnetwork for thedb,redis, andappservices.php_network_getaddresses: getaddrinfo for db failed. Relying solely on theexternalproxy network caused Docker's internal service discovery to fail. A private bridge network ensures reliable communication between the application and its dependencies.2. Image Pull & Registry Compliance
redis:7-alpine).invalid reference format: repository name must be lowercase. Docker registry protocols require lowercase repository names; the previous uppercase "Redis" caused pull failures on standard Docker engines.3. Data Persistence & Integrity
/var/lib/mysqland added a persistent volume for the Nextcloud/configdirectory./var/www/html/config, users lose theirconfig.php(and thus their entire setup) whenever the container is updated or recreated.4. Traefik Routing Optimization
traefik.docker.network=proxylabel to theappservice.appcontainer is now attached to two networks (internalandproxy), this label is required to explicitly tell Traefik which network to use for routing public web traffic, preventing potential 502 Gateway Errors.Mandatory information
The translations in this Pull Request have been done using:
This Pull Request didn't require any translation.
This Pull Request can be merged as soon as possible.