edited docker and server config

This commit is contained in:
2026-05-29 23:39:18 +02:00
parent ec97102459
commit 1d7fb194fa
4 changed files with 79 additions and 4 deletions
+7 -4
View File
@@ -3,8 +3,6 @@ services:
container_name: stockhome-mysql
image: mysql:8.0
restart: unless-stopped
ports:
- "3312:3306"
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: stockhome
@@ -18,10 +16,15 @@ services:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8004:8004"
environment:
NODE_ENV: production
depends_on:
- database
restart: unless-stopped
rontend:
container_name: stockhome-frontend
build: ./frontend
depends_on:
- backend
restart: unless-stopped