implemented naas in to user frontend

This commit is contained in:
2026-04-21 21:49:54 +02:00
parent f8ab2490fe
commit 25709ea0d9
5 changed files with 122 additions and 13 deletions
+13 -4
View File
@@ -4,14 +4,14 @@ services:
# build: ./FrontendV2
# ports:
# - "8001:80"
# restart: unless-stopped
# restart: always
# admin-frontend:
# container_name: borrow_system-admin-frontend
# build: ./admin
# ports:
# - "8003:80"
# restart: unless-stopped
# restart: always
backend_v2:
container_name: borrow_system-backend_v2
@@ -26,12 +26,12 @@ services:
DB_NAME: borrow_system_new
depends_on:
- mysql_v2
restart: unless-stopped
restart: always
mysql_v2:
container_name: borrow_system-mysql-v2
image: mysql:8.0
restart: unless-stopped
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD_V2}
MYSQL_DATABASE: borrow_system_new
@@ -42,6 +42,15 @@ services:
ports:
- "3310:3306"
no-as-a-service:
container_name: borrow_system-naas
ports:
- "3000:3000"
build:
context: ./no-as-a-service
dockerfile: Dockerfile
restart: always
volumes:
mysql-data:
mysql-v2-data: