Add repository commands for handling votes

This commit is contained in:
Alex Selimov 2026-03-19 10:05:38 -04:00
parent 4b16f39b4d
commit 40331451ca
9 changed files with 647 additions and 4 deletions

16
docker-compose.yml Normal file
View file

@ -0,0 +1,16 @@
services:
db:
image: postgres:16
container_name: uprs_db
restart: always
environment:
POSTGRES_USER: uprs
POSTGRES_PASSWORD: password123
POSTGRES_DB: uprs
volumes:
- pgdata:/var/lib/postgresql/data
- ./db/migrations:/docker-entrypoint-initdb.d # run initial schema
ports:
- "5432:5432"
volumes:
pgdata: