deleted api post request and replaced with self written function from database.js.
Also deleted login-auth from docker compose, but not the folder (we can later work on this again).
This commit is contained in:
@@ -35,22 +35,22 @@ services:
|
||||
- ./shared:/shared
|
||||
restart: unless-stopped
|
||||
|
||||
login-auth:
|
||||
container_name: login-auth
|
||||
build: ./login-auth_backend
|
||||
ports:
|
||||
- "4002:4002"
|
||||
environment:
|
||||
DB_HOST: mysql
|
||||
DB_USER: root
|
||||
DB_PASSWORD: D7Ze0lwV9hMrNQHdz1Q8yi0MIQuOO8
|
||||
DB_NAME: login_page
|
||||
depends_on:
|
||||
- mysql
|
||||
volumes:
|
||||
- ./login-auth_backend:/login-auth_app
|
||||
- ./shared:/shared
|
||||
restart: unless-stopped
|
||||
# login-auth:
|
||||
# container_name: login-auth
|
||||
# build: ./login-auth_backend
|
||||
# ports:
|
||||
# - "4002:4002"
|
||||
# environment:
|
||||
# DB_HOST: mysql
|
||||
# DB_USER: root
|
||||
# DB_PASSWORD: D7Ze0lwV9hMrNQHdz1Q8yi0MIQuOO8
|
||||
# DB_NAME: login_page
|
||||
# depends_on:
|
||||
# - mysql
|
||||
# volumes:
|
||||
# - ./login-auth_backend:/login-auth_app
|
||||
# - ./shared:/shared
|
||||
# restart: unless-stopped
|
||||
|
||||
mysql:
|
||||
container_name: mysql-db
|
||||
|
Reference in New Issue
Block a user