Skip to content
Snippets Groups Projects
Commit 5fed00d1 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix(docker): update local configuration

parent 720fff22
No related branches found
No related tags found
2 merge requests!8local- conf,!7feat: add front office
Pipeline #15526 passed
version: '3.7'
services:
front:
container_name: front
build:
context: .
dockerfile: Dockerfile.local
depends_on:
- nginx
volumes:
- '.:/app'
- '/app/node_modules'
ports:
- 3000:3000
nginx:
image: nginx:1.16
volumes:
......
......@@ -7,7 +7,7 @@ server {
ssl_ciphers HIGH:!aNULL:!MD5;
location / {
proxy_pass https://front;
proxy_pass https://host.docker.internal:3000;
}
location /api {
proxy_pass https://backend:1443/api;
......
......@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"start": "set PORT=443 && react-scripts start",
"start": "react-scripts start",
"build": "react-scripts build",
"docker-local-up" : "docker-compose -f docker-compose.local.yml up",
"docker-local-down" : "docker-compose -f docker-compose.local.yml down",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment