15 lines
271 B
YAML
15 lines
271 B
YAML
services:
|
|
db:
|
|
image: postgres:alpine
|
|
environment:
|
|
- POSTGRES_USER=tester
|
|
- POSTGRES_PASSWORD=testing123!
|
|
- POSTGRES_DB=testing
|
|
ports:
|
|
- 5432:5432
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
postgres_data:
|