16 lines
364 B
Cheetah
16 lines
364 B
Cheetah
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
|