10 Commits

5 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,4 @@
FROM nginx:stable FROM nginx:stable
COPY default.conf /etc/nginx/conf.d/
COPY dist/hv-ui/* /usr/share/nginx/html/ COPY dist/hv-ui/* /usr/share/nginx/html/

9
default.conf Normal file
View File

@ -0,0 +1,9 @@
server {
listen 80;
server_name hv-ui;
location / {
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html;
}
}

View File

@ -1 +1 @@
export const serviceBaseUrl = "http://172.16.3.32:5000"; export const serviceBaseUrl = "http://172.16.10.29:5000";

View File

@ -13,4 +13,5 @@ export interface Mieter {
telefon: string; telefon: string;
einzug: string; einzug: string;
auszug: string; auszug: string;
saldo: number;
} }

View File

@ -3,7 +3,7 @@
<ul> <ul>
<li *ngFor="let mieter of mieters" <li *ngFor="let mieter of mieters"
routerLink="/mieter/{{mieter.id}}"> routerLink="/mieter/{{mieter.id}}">
<span>{{mieter.vorname}} {{mieter.nachname}}</span> <span>{{mieter.nachname}}, {{mieter.vorname}} ({{mieter.saldo}})</span>
</li> </li>
</ul> </ul>
</section> </section>