Skip to content

Commit

Permalink
fix front port in ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonDumestre committed Feb 7, 2024
1 parent f615745 commit e46bef2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion TP3/ansible/roles/launch-proxy/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
networks:
- name: app-network
ports:
- "80:80"
- "8000:80"
4 changes: 1 addition & 3 deletions TP3/front/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@ RUN npm run build
FROM nginx:1.15.7-alpine

COPY --from=build /opt/front/dist /usr/share/nginx/html/
COPY --from=build /opt/front/default.conf /etc/nginx/conf.d/default.conf

EXPOSE 8000
COPY --from=build /opt/front/default.conf /etc/nginx/conf.d/default.conf
2 changes: 1 addition & 1 deletion TP3/front/default.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server {
listen 8000;
listen 80;
server_name localhost;

#charset koi8-r;
Expand Down
5 changes: 0 additions & 5 deletions TP3/front/vue.config.js

This file was deleted.

0 comments on commit e46bef2

Please sign in to comment.