Compare commits
8
Commits
f19eaa75ae
..
1.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a002323d69 | ||
|
|
2f11eaecf8 | ||
|
|
519ef68ef8 | ||
|
|
331acb2ccb | ||
|
|
98eefa89b4 | ||
|
|
216f4978d7 | ||
|
|
3b632a5bc7 | ||
|
|
0ce43a4779 |
+1
-1
@@ -3,7 +3,7 @@ FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||
WORKDIR /app
|
||||
|
||||
COPY ["nuget.config", "./"]
|
||||
COPY ["ShopAdmin/ShopAdmin.csproj", "Shop/"]
|
||||
COPY ["ShopAdmin/ShopAdmin.csproj", "ShopAdmin/"]
|
||||
RUN dotnet restore "ShopAdmin/ShopAdmin.csproj" --configfile nuget.config
|
||||
COPY . .
|
||||
RUN dotnet publish "ShopAdmin/ShopAdmin.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
<Solution>
|
||||
<Folder Name="/Solution Items/">
|
||||
<File Path=".drone.yml" />
|
||||
<File Path=".editorconfig" />
|
||||
<File Path="Dockerfile" />
|
||||
<File Path="litecharms-shopadmin-uat.yml" />
|
||||
</Folder>
|
||||
<Project Path="ShopAdmin/ShopAdmin.csproj" />
|
||||
</Solution>
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
@layout MainLayout
|
||||
|
||||
<h3>Not Found</h3>
|
||||
<p>Sorry, the content you are looking for does not exist.</p>
|
||||
<p>Sorry, the content you are looking for does not exist</p>
|
||||
@@ -29,7 +29,7 @@ data:
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: shop-data-pvc
|
||||
name: shopadmin-data-pvc
|
||||
namespace: litecharms-shopadmin-uat
|
||||
spec:
|
||||
accessModes: ["ReadWriteMany"]
|
||||
@@ -121,7 +121,7 @@ spec:
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: shop-data-pvc
|
||||
claimName: shopadmin-data-pvc
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@@ -147,7 +147,7 @@ spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`shop.uat.khongisa.co.za`)
|
||||
- match: Host(`shopadmin.uat.khongisa.co.za`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: shop-service
|
||||
|
||||
Reference in New Issue
Block a user