Add initial database schema and references
Some checks are pending
Build Crate / build (push) Waiting to run
Some checks are pending
Build Crate / build (push) Waiting to run
Also look into users a bit
This commit is contained in:
4
.dev/.env
Normal file
4
.dev/.env
Normal 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
18
.dev/docker-compose.yml
Normal 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:
|
||||
Reference in New Issue
Block a user