Initial Commit

This commit is contained in:
2023-09-08 19:05:37 +03:00
commit 7e60195cb7
185 changed files with 27107 additions and 0 deletions

34
docker-compose.yml Normal file
View File

@@ -0,0 +1,34 @@
version: "3.9"
services:
db:
image: postgres:15.3
environment:
POSTGRES_DB: "virt_dashboard"
POSTGRES_USER: "virt_dashboard_user"
POSTGRES_PASSWORD: "EKnqZLVDZqjN"
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U virt_dashboard_user -d virt_dashboard"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
restart: unless-stopped
backend:
build: ./api/
environment:
POSTGRES_SERVER: "db"
POSTGRES_USER: "virt_dashboard_user"
POSTGRES_PASSWORD: "EKnqZLVDZqjN"
POSTGRES_DB: "virt_dashboard"
ports:
- "5000:5000"
frontend:
build: ./frontend/
ports:
- "3000:3000"
volumes:
pgdata: