Created
April 16, 2021 00:38
-
-
Save gabrielfeitosa/4eaa4df7c7bf15af32d802b40f1d7a9d to your computer and use it in GitHub Desktop.
docker-compose samples
This file contains 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
version: '3' | |
services: | |
postgres: | |
image: postgres | |
environment: | |
POSTGRES_PASSWORD: "abcde" | |
ports: | |
- "15432:5432" | |
volumes: | |
- ./database-data:/var/lib/postgresql/data | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment