server/docker/docker-compose.yml

14 lines
298 B
YAML
Raw Permalink Normal View History

2019-11-18 14:28:56 +00:00
version: "3"
services:
database:
image: "postgres:12-alpine"
container_name: "database"
environment:
- POSTGRES_USER=totopia
- POSTGRES_PASSWORD=totopia
- POSTGRES_DB=totopia
ports:
- "54320:5432"
volumes:
- ./postgres/data:/var/lib/postgresql:z