Created
October 4, 2021 13:03
-
-
Save taras/2dd1ce32d0f58b4a5c6a13af80656663 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
backend: | |
database: | |
client: pg | |
connection: | |
host: localhost | |
port: 5432 | |
user: postgres | |
password: postgres |
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
version: "3.7" | |
services: | |
postgres: | |
image: "postgres:12" | |
restart: always | |
environment: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_INITDB_ARGS: "--encoding=UTF8" | |
ports: | |
- "5432:5432" | |
volumes: | |
- ./.data:/var/lib/postgresql/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment