como/templates/docker-compose.local_up.yml.tmpl

16 lines
364 B
Cheetah
Raw Normal View History

2022-10-02 12:12:08 +02:00
version: '3.7'
services:
db:
image: postgres:13.5
restart: always
environment:
- POSTGRES_DB=como
- POSTGRES_USER=como
- POSTGRES_PASSWORD=somenotverysecurepassword
- DATABASE_URL="postgres://como:somenotverysecurepassword@localhost:5432/como"
ports:
- 5432:5432
volumes:
- ./data/postgres:/var/lib/postgresql/data