Created
November 13, 2023 09:40
-
-
Save ostermine/b1cc49d76134b94122d749708ea04e28 to your computer and use it in GitHub Desktop.
postgresql simple docker compose
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
#es | |
#configuring pod'es | |
version: '3.1' | |
services: | |
db: | |
image: postgres | |
restart: always | |
environment: | |
POSTGRES_USER: root | |
POSTGRES_PASSWORD: peinsRoot123 | |
POSTGRES_DB: test_db_name | |
network_mode: host | |
volumes: | |
- ./pgdata:/var/lib/postgresql/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment