Add DB commands to makefile

This commit is contained in:
Jacob Windsor
2025-02-19 13:04:27 +01:00
parent 06173658b2
commit 7307ab029a
2 changed files with 6 additions and 4 deletions
-19
View File
@@ -1,19 +0,0 @@
version: '3.8'
services:
web:
build: .
ports:
- "8000:8000"
environment:
- ENV=production
command: ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
db:
image: postgres:13
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: mydatabase
ports:
- "5432:5432"