Update dashboard and Docker compose
Some checks failed
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Tests (3.11) (push) Has been cancelled
CI/CD Pipeline / Tests (3.12) (push) Has been cancelled
CI/CD Pipeline / Build Docker Image (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (push) Has been cancelled
Some checks failed
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Tests (3.11) (push) Has been cancelled
CI/CD Pipeline / Tests (3.12) (push) Has been cancelled
CI/CD Pipeline / Build Docker Image (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (push) Has been cancelled
This commit is contained in:
@@ -34,6 +34,8 @@ services:
|
||||
|
||||
dashboard:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
target: development
|
||||
image: guardden-dashboard:dev
|
||||
container_name: guardden-dashboard-dev
|
||||
@@ -45,6 +47,8 @@ services:
|
||||
# Mount source code for hot reloading
|
||||
- ./src:/app/src:ro
|
||||
- ./migrations:/app/migrations:ro
|
||||
# Serve locally built dashboard assets (optional)
|
||||
- ./dashboard/frontend/dist:/app/dashboard/frontend/dist:ro
|
||||
command: ["python", "-m", "guardden.dashboard", "--reload", "--host", "0.0.0.0"]
|
||||
ports:
|
||||
- "8080:8000"
|
||||
@@ -110,4 +114,4 @@ services:
|
||||
|
||||
volumes:
|
||||
postgres_dev_data:
|
||||
pgadmin_data:
|
||||
pgadmin_data:
|
||||
|
||||
Reference in New Issue
Block a user