Created
August 9, 2025 07:33
-
-
Save robzlabz/7ba43147e8ec8c75b2ab0f7a180d3250 to your computer and use it in GitHub Desktop.
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
# ❌ The traditional (problematic) way | |
version: '3.8' | |
services: | |
postgres: | |
image: postgres:15 | |
volumes: | |
- postgres_data:/var/lib/postgresql/data # Where is this exactly? | |
environment: | |
POSTGRES_DB: myapp | |
POSTGRES_USER: admin | |
POSTGRES_PASSWORD: secret | |
volumes: | |
postgres_data: # Mystery location |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment