feat: implement MainForm component and set up routing; add user table schema and trigger in SQL
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
services:
|
||||
frontend:
|
||||
container_name: ca-lose-frontend
|
||||
build: ./frontend
|
||||
ports:
|
||||
- "8002:80"
|
||||
restart: unless-stopped
|
||||
# frontend:
|
||||
# container_name: ca-lose-frontend
|
||||
# build: ./frontend
|
||||
# ports:
|
||||
# - "8002:80"
|
||||
# restart: unless-stopped
|
||||
|
||||
backend:
|
||||
container_name: ca-lose-backend
|
||||
@@ -13,21 +13,23 @@ services:
|
||||
- "8004:8004"
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
DB_HOST: ca-lose
|
||||
DB_HOST: ca_lose
|
||||
DB_USER: root
|
||||
DB_PASSWORD: ${DB_PASSWORD}
|
||||
DB_NAME: ca-lose
|
||||
DB_NAME: ca_lose
|
||||
depends_on:
|
||||
- ca-lose
|
||||
- database
|
||||
restart: unless-stopped
|
||||
|
||||
database:
|
||||
container_name: ca-lose
|
||||
container_name: ca-lose-mysql
|
||||
image: mysql:8.0
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3311:3306"
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
|
||||
MYSQL_DATABASE: ca-lose
|
||||
MYSQL_DATABASE: ca_lose
|
||||
TZ: Europe/Berlin
|
||||
volumes:
|
||||
- ca-lose_mysql:/var/lib/mysql
|
||||
|
||||
Reference in New Issue
Block a user