added additional config and docs

This commit is contained in:
2026-06-04 18:05:09 +02:00
parent 86dff12132
commit 0c319cb2b2
5 changed files with 97 additions and 4 deletions
+6 -1
View File
@@ -21,6 +21,8 @@ services:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8004:8004"
environment:
DB_HOST: stockhome-mysql
DB_USER: root
@@ -35,9 +37,12 @@ services:
frontend:
container_name: stockhome-frontend
ports:
- "80:80"
build: ./frontend
environment:
VITE_BACKEND_URL: http://localhost:8004
HOST: ${BACKEND_HOST}
VITE_BACKEND_URL: /backend
depends_on:
- backend
restart: unless-stopped