Skip to content

Commit

Permalink
SWD-32: publish infrastructure to cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
thongdanghoang authored and nganntqe170236 committed May 25, 2024
1 parent cab5e6a commit 520e7ce
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 53 deletions.
4 changes: 2 additions & 2 deletions backend/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import {UserEntity} from './modules/user/user.entity';
@Module({
imports: [
AuthModule.forRoot({
oidcAuthority: 'http://localhost:8180/realms/access-guard'
oidcAuthority: 'https://thongdanghoang.id.vn/auth/realms/SwapMe'
}),
TypeOrmModule.forRoot({
type: 'mysql',
host: 'localhost',
host: 'thongdanghoang.id.vn',
port: 3306,
username: 'root',
password: 'root_P@ssW0rd',
Expand Down
6 changes: 3 additions & 3 deletions frontend/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is used to store environment variables for development only
VITE_APP_AUTHORITY=http://localhost:8180/realms/access-guard
VITE_APP_CLIENT_ID=fpt
VITE_APP_CLIENT_SECRET=NEdUdkJPrjciyvdUwQHqrrQRJbaaEF9q
VITE_APP_AUTHORITY=https://thongdanghoang.id.vn/auth/realms/SwapMe
VITE_APP_CLIENT_ID=swapme
VITE_APP_CLIENT_SECRET=
VITE_APP_REDIRECT_URI=http://localhost:5173/
36 changes: 0 additions & 36 deletions infrastructure/docker-compose.yml

This file was deleted.

12 changes: 0 additions & 12 deletions infrastructure/init.sql

This file was deleted.

0 comments on commit 520e7ce

Please sign in to comment.