Add initial database schema and references
Some checks are pending
Build Crate / build (push) Waiting to run

Also look into users a bit
This commit is contained in:
2024-08-14 01:20:48 -04:00
parent 01eaf059dd
commit 5cb67786bf
19 changed files with 505 additions and 6 deletions

4
.dev/.env Normal file
View File

@@ -0,0 +1,4 @@
POSTGRES_DB=elo_app
POSTGRES_USER=elo
POSTGRES_PASSWORD=elo
DATABASE_URL=postgres://elo:elo@db:5432/elo_app

18
.dev/docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
services:
db:
image: postgres:15.3-alpine
restart: unless-stopped
ports:
- 5432:5432
networks:
- db
volumes:
- postgres-data:/var/lib/postgresql/data
env_file:
- .env
volumes:
postgres-data:
networks:
db: