Compare commits
1 Commits
release/20
...
2024.12.11
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d7c7d85afc |
|
|
@ -2,4 +2,4 @@
|
||||||
COPY artifacts /app
|
COPY artifacts /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENTRYPOINT ["dotnet", "api.dll"]
|
ENTRYPOINT ["dotnet", "follicleAPI.dll"]
|
||||||
12
source/ticketAPI/api/appsettings.Development.json
Normal file
12
source/ticketAPI/api/appsettings.Development.json
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Mongo": {
|
||||||
|
"ConnectionString": "mongodb://terralilly85:pr1ncessN0ra@www.taraformed.com:27017/",
|
||||||
|
"Database": "pso"
|
||||||
|
}
|
||||||
|
}
|
||||||
13
source/ticketAPI/api/appsettings.json
Normal file
13
source/ticketAPI/api/appsettings.json
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Mongo": {
|
||||||
|
"ConnectionString": "mongodb://terralilly85:pr1ncessN0ra@www.taraformed.com:27017/",
|
||||||
|
"Database": "pso"
|
||||||
|
},
|
||||||
|
"AllowedHosts": "*"
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
FROM nginx:latest
|
FROM nginx:latest
|
||||||
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY dist/ticket-ui /usr/share/nginx/html
|
COPY dist /usr/share/nginx/html
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
|
||||||
|
|
@ -17,10 +17,7 @@
|
||||||
"build": {
|
"build": {
|
||||||
"builder": "@angular-devkit/build-angular:application",
|
"builder": "@angular-devkit/build-angular:application",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": {
|
"outputPath": "dist/ticket-ui",
|
||||||
"base": "dist/ticket-ui",
|
|
||||||
"browser": ""
|
|
||||||
},
|
|
||||||
"index": "src/index.html",
|
"index": "src/index.html",
|
||||||
"browser": "src/main.ts",
|
"browser": "src/main.ts",
|
||||||
"polyfills": [
|
"polyfills": [
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,16 @@
|
||||||
server {
|
server {
|
||||||
listen 0.0.0.0:80;
|
listen 80;
|
||||||
listen [::]:80;
|
server_name localhost;
|
||||||
default_type application/octet-stream;
|
|
||||||
|
|
||||||
gzip on;
|
|
||||||
gzip_comp_level 6;
|
|
||||||
gzip_vary on;
|
|
||||||
gzip_min_length 1000;
|
|
||||||
gzip_proxied any;
|
|
||||||
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
|
||||||
gzip_buffers 16 8k;
|
|
||||||
gunzip on;
|
|
||||||
client_max_body_size 256M;
|
|
||||||
|
|
||||||
root /usr/share/nginx/html;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html =404;
|
root /usr/share/nginx/html;
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
|
index index.html index.htm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
error_page 500 502 503 504 /50x.html;
|
||||||
|
location = /50x.html {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user