rorenv/postgres/docker-compose.yml

19 lines
324 B
YAML

version: '3.1'
volumes:
postgres:
services:
postgres:
image: postgres
container_name: postgres
restart: always
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgresql
volumes:
- postgres:/var/lib/postgresql/data
ports:
- 5432:5432