Compare commits

..

1 Commits

Author SHA1 Message Date
Tara Wilson
d7c7d85afc 2024.12.11 2024-12-11 14:42:43 -05:00
6 changed files with 40 additions and 24 deletions

View File

@ -2,4 +2,4 @@
COPY artifacts /app
WORKDIR /app
EXPOSE 80
ENTRYPOINT ["dotnet", "api.dll"]
ENTRYPOINT ["dotnet", "follicleAPI.dll"]

View File

@ -0,0 +1,12 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Mongo": {
"ConnectionString": "mongodb://terralilly85:pr1ncessN0ra@www.taraformed.com:27017/",
"Database": "pso"
}
}

View File

@ -0,0 +1,13 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Mongo": {
"ConnectionString": "mongodb://terralilly85:pr1ncessN0ra@www.taraformed.com:27017/",
"Database": "pso"
},
"AllowedHosts": "*"
}

View File

@ -1,5 +1,4 @@
FROM nginx:latest
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY dist/ticket-ui /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
COPY dist /usr/share/nginx/html
EXPOSE 80

View File

@ -17,10 +17,7 @@
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": {
"base": "dist/ticket-ui",
"browser": ""
},
"outputPath": "dist/ticket-ui",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [

View File

@ -1,21 +1,16 @@
server {
listen 0.0.0.0:80;
listen [::]:80;
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;
listen 80;
server_name localhost;
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;
}
}