docker-compose.yml file.
Postgres: expose: section of the file.

expose with ports, and replace "5432" with "5432:5432".

docker-compose.yml and .env files. These files contain your server’s custom configurations and are overwritten during reinstallation.
repo.backup.zip file to a secure location.
docker-compose.yml file.
Postgres: expose: section of the file and restore your server’s custom configurations.
.env file and restore your server’s saved custom configurations.
docker-compose.yml file.
Postgres: expose: section of the file.

expose with ports, and replace "5432" with "5432:5432".

repo.backup.zip file.
docker-compose.yml file.
Postgres: expose: section of the file and restore your server’s custom configurations.
.env file and restore your server’s custom configurations.