update config client
This commit is contained in:
parent
f43e802501
commit
8e1261cfa7
|
|
@ -39,4 +39,6 @@ POST http://localhost:3000/api/favorite/save
|
||||||
GET http://localhost:3000/api/favorite/getAll
|
GET http://localhost:3000/api/favorite/getAll
|
||||||
|
|
||||||
# Prod
|
# Prod
|
||||||
|
git clone https://gitlab.cyro-technology.com/cyril/Jucundus
|
||||||
|
|
||||||
npm run start
|
npm run start
|
||||||
|
|
@ -53,7 +53,8 @@
|
||||||
"with": "src/environments/environment.prod.ts"
|
"with": "src/environments/environment.prod.ts"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputHashing": "all"
|
"outputHashing": "all",
|
||||||
|
"allowedCommonJsDependencies": ["moment-timezone"]
|
||||||
},
|
},
|
||||||
"development": {
|
"development": {
|
||||||
"buildOptimizer": false,
|
"buildOptimizer": false,
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<head><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Jucundus</title>
|
<title>Jucundus</title>
|
||||||
<base href="/angular-material-template/">
|
<base href=".">
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
|
@ -32,6 +32,6 @@
|
||||||
|
|
||||||
<body class="mat-app-background">
|
<body class="mat-app-background">
|
||||||
<app-root></app-root>
|
<app-root></app-root>
|
||||||
<script src="runtime.475575d3cc22a138.js" type="module"></script><script src="polyfills.febf6ea84d149d1b.js" type="module"></script><script src="main.fc1d97ee0494099d.js" type="module"></script></body>
|
<script src="runtime.475575d3cc22a138.js" type="module"></script><script src="polyfills.febf6ea84d149d1b.js" type="module"></script><script src="main.5bb5111fcbed767e.js" type="module"></script></body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,10 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name jucundus.saucisse.ninja;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html;
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -4,5 +4,5 @@ export const environment = {
|
||||||
production: true,
|
production: true,
|
||||||
logLevel: NgxLoggerLevel.OFF,
|
logLevel: NgxLoggerLevel.OFF,
|
||||||
serverLogLevel: NgxLoggerLevel.ERROR,
|
serverLogLevel: NgxLoggerLevel.ERROR,
|
||||||
ServeurURL: "http://localhost:3000"
|
ServeurURL: "https://jucundus.saucisse.ninja:3000/backend"
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Jucundus</title>
|
<title>Jucundus</title>
|
||||||
<base href="/">
|
<base href=".">
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,9 @@
|
||||||
version: '3.1'
|
version: '3.7'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mongo
|
image: mongo
|
||||||
ports:
|
|
||||||
- "27017:27017"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data/db
|
- ./data:/data/db
|
||||||
networks:
|
networks:
|
||||||
|
|
@ -17,8 +15,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend:/backend
|
- ./backend:/backend
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000"
|
||||||
command: ["npm", "run", "start"]
|
command: ["sh", "-c", "npm install && npm run start"]
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
networks:
|
networks:
|
||||||
|
|
@ -36,9 +34,10 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
hostname: jucundus.saucisse.ninja
|
hostname: jucundus.saucisse.ninja
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./client/dist/angular-material-template:/usr/share/nginx/html
|
- ./client/dist/angular-material-template:/usr/share/nginx/html
|
||||||
|
- ./client/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
- backend
|
||||||
labels:
|
labels:
|
||||||
|
|
@ -56,4 +55,6 @@ services:
|
||||||
- "traefik.http.services.scrapper.loadbalancer.server.port=80"
|
- "traefik.http.services.scrapper.loadbalancer.server.port=80"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
backend-network:
|
backend-network:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue