Created
October 2, 2020 16:11
-
-
Save igrishaev/038e5bfdd1def6d109e07e8aea20b0b4 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
version: '3.5' | |
services: | |
postgres: | |
image: postgres:13 | |
container_name: reader_postgres | |
environment: | |
POSTGRES_DB: reader | |
POSTGRES_USER: reader | |
POSTGRES_PASSWORD: reader | |
PGDATA: /var/lib/postgresql/data/pgdata | |
ports: | |
- 5432:5432 | |
volumes: | |
- ./pgdata:/var/lib/postgresql/data/pgdata | |
command: ["postgres", "-c", "log_statement=all"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment