Compare commits

..
Author SHA1 Message Date
marc 0c6e5d29d1 port 80
Docker build test / build-back (push) Canceled after 0s
Docker build test / build-front (push) Canceled after 0s
2022-10-12 04:50:53 +02:00
4 changed files with 3 additions and 10 deletions
-2
View File
@@ -30,7 +30,6 @@ services:
- ./var/mysql:/var/lib/mysql
back:
image: numerisisep/numeris-back
container_name: numeris_back
restart: unless-stopped
build:
@@ -51,7 +50,6 @@ services:
caddy.reverse_proxy.header_down: -Access-Control-Allow-Origin
front:
image: numerisisep/numeris-back
container_name: numeris_front
build:
context: ./front
+2 -2
View File
@@ -23,7 +23,7 @@ services:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
back:
image: numerisisep/numeris-back
image: numeris-back
container_name: numeris_back
restart: unless-stopped
build:
@@ -44,7 +44,7 @@ services:
- mysql
front:
image: numerisisep/numeris-front
image: numeris-front
container_name: numeris_front
restart: unless-stopped
build:
+1 -1
View File
@@ -7,7 +7,7 @@ RUN npm install -g @angular/cli@7.3.9
COPY . .
RUN npm rebuild node-sass
RUN npm run build-prod
ENTRYPOINT [ "ng", "s", "--host", "0.0.0.0" ]
ENTRYPOINT [ "ng", "s", "--host", "0.0.0.0", "--port", "80" ]
FROM nginx
COPY nginx.conf /etc/nginx/conf.d/default.conf
-5
View File
@@ -15,10 +15,5 @@ server {
location / {
try_files $uri $uri/ /index.html =404;
proxy_pass http://api.numeris-isep.fr;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
}
}