development database

This commit is contained in:
Sphereso 2024-07-05 12:19:23 +02:00
parent 49af9263e3
commit dee7b5c1d7
2 changed files with 17 additions and 0 deletions

1
.env Normal file
View file

@ -0,0 +1 @@
DATABASE_URL=postgres://alisa:alisa@localhost/alisa

16
docker-compose.yml Normal file
View file

@ -0,0 +1,16 @@
services:
postgres:
image: postgres
restart: always
environment:
POSTGRES_DB: alisa
POSTGRES_USER: alisa
POSTGRES_PASSWORD: alisa
ports:
- 5432:5432
volumes:
- postgres:/var/lib/postgresql/data
volumes:
postgres: