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

18 lines
283 B
Cheetah
Raw Normal View History

2022-10-02 12:12:08 +02:00
version: '3.7'
services:
db:
2022-10-03 22:08:25 +02:00
build:
context: .
dockerfile: local_up.Dockerfile
2022-10-02 12:12:08 +02:00
restart: always
environment:
- POSTGRES_PASSWORD=somenotverysecurepassword
ports:
- 5432:5432
volumes:
2022-10-03 22:08:25 +02:00
- pgdata:/var/lib/postgresql/data
volumes:
pgdata: