Add repository commands for handling votes
This commit is contained in:
parent
4b16f39b4d
commit
40331451ca
9 changed files with 647 additions and 4 deletions
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal 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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue