This repository has been archived on 2021-10-25. You can view files and clone it, but cannot push or open issues/pull-requests.
rusty-bever/docker-compose.yml

20 lines
358 B
YAML

# I just use this compose file to easily start up test databases
version: '3'
services:
db:
image: 'postgres:13-alpine'
restart: 'always'
environment:
- 'POSTGRES_DB=rb'
- 'POSTGRES_USER=rb'
- 'POSTGRES_PASSWORD=rb'
ports:
- '5432:5432'
volumes:
- 'db-data:/var/lib/postgresql/data'
volumes:
db-data: