diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e33246b..50742f0 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -77,7 +77,6 @@ jobs: validate-docker-frontend: runs-on: ubuntu-latest name: Docker frontend validation - if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }} container: image: catthehacker/ubuntu:act-latest steps: @@ -93,7 +92,6 @@ jobs: validate-docker-backend: runs-on: ubuntu-latest name: Docker backend validation - if: ${{ needs.changed_files.outputs.backend == 'true' || needs.changed_files.outputs.workflow == 'true' }} container: image: catthehacker/ubuntu:act-latest steps: diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml new file mode 100644 index 0000000..5487079 --- /dev/null +++ b/docker/docker-compose.yml @@ -0,0 +1,18 @@ +volumes: + casino-db-data: + +services: + db: + image: postgres:17.5 + container_name: casino-db + restart: unless-stopped + volumes: + - casino-db-data:/var/lib/postgresql/data + environment: + POSTGRES_DB: postgresdb + POSTGRES_USER: postgres_user + POSTGRES_PASSWORD: postgres_pass + healthcheck: + test: "exit 0" + ports: + - "5432:5432" \ No newline at end of file diff --git a/frontend/src/app/app.component.html b/frontend/src/app/app.component.html index 2e3cd9a..41260d2 100644 --- a/frontend/src/app/app.component.html +++ b/frontend/src/app/app.component.html @@ -1,6 +1,5 @@
-
diff --git a/frontend/src/app/app.component.ts b/frontend/src/app/app.component.ts index 3e25d5b..30666e9 100644 --- a/frontend/src/app/app.component.ts +++ b/frontend/src/app/app.component.ts @@ -2,12 +2,11 @@ import { ChangeDetectionStrategy, Component } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterOutlet } from '@angular/router'; import { FooterComponent } from '@shared/components/footer/footer.component'; -import { NavbarComponent } from '@shared/components/navbar/navbar.component'; @Component({ selector: 'app-root', standalone: true, - imports: [CommonModule, RouterOutlet, FooterComponent, NavbarComponent], + imports: [CommonModule, RouterOutlet, FooterComponent], providers: [], templateUrl: './app.component.html', styleUrl: './app.component.css', diff --git a/frontend/src/app/auth.guard.ts b/frontend/src/app/auth.guard.ts index ffb2526..d088c30 100644 --- a/frontend/src/app/auth.guard.ts +++ b/frontend/src/app/auth.guard.ts @@ -1,6 +1,6 @@ import { CanActivateFn, Router } from '@angular/router'; import { inject } from '@angular/core'; -import { AuthService } from '@service/auth.service'; +import { AuthService } from './service/auth.service'; export const authGuard: CanActivateFn = async () => { const authService = inject(AuthService); diff --git a/frontend/src/app/feature/auth/login/login.component.html b/frontend/src/app/feature/auth/login/login.component.html index c10b232..c41002d 100644 --- a/frontend/src/app/feature/auth/login/login.component.html +++ b/frontend/src/app/feature/auth/login/login.component.html @@ -1,3 +1,5 @@ + +