grepfood-demo/server/docker-compose.yml

17 lines
303 B
YAML

version: '3.3'
services:
database:
image: postgres:14-alpine
container_name: postgres
environment:
POSTGRES_USER: "user"
POSTGRES_PASSWORD: "password"
POSTGRES_DB: "grepfood"
ports:
- "5432:5432"
volumes:
- db:/var/lib/postgresql/data
volumes:
db: