mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 15:38:03 -05:00
remove secret engine from main
This commit is contained in:
@@ -58,30 +58,30 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- infisical-dev
|
- infisical-dev
|
||||||
|
|
||||||
git-app:
|
# git-app:
|
||||||
container_name: infisical-dev-git-app
|
# container_name: infisical-dev-git-app
|
||||||
restart: unless-stopped
|
# restart: unless-stopped
|
||||||
depends_on:
|
# depends_on:
|
||||||
- mongo
|
# - mongo
|
||||||
- smtp-server
|
# - smtp-server
|
||||||
- backend
|
# - backend
|
||||||
- frontend
|
# - frontend
|
||||||
volumes:
|
# volumes:
|
||||||
- ./secret-engine/src:/app/src/ # mounted whole src to avoid missing reload on new files
|
# - ./secret-engine/src:/app/src/ # mounted whole src to avoid missing reload on new files
|
||||||
ports:
|
# ports:
|
||||||
- "3000:3001"
|
# - "3000:3001"
|
||||||
build:
|
# build:
|
||||||
context: ./secret-engine
|
# context: ./secret-engine
|
||||||
dockerfile: Dockerfile.dev
|
# dockerfile: Dockerfile.dev
|
||||||
command: npm run start
|
# command: npm run start
|
||||||
env_file: ./secret-engine/.env
|
# env_file: ./secret-engine/.env
|
||||||
environment:
|
# environment:
|
||||||
- NODE_ENV=development
|
# - NODE_ENV=development
|
||||||
- MONGO_URL=mongodb://root:example@mongo:27017/?authSource=admin
|
# - MONGO_URL=mongodb://root:example@mongo:27017/?authSource=admin
|
||||||
networks:
|
# networks:
|
||||||
- infisical-dev
|
# - infisical-dev
|
||||||
extra_hosts:
|
# extra_hosts:
|
||||||
- "host.docker.internal:host-gateway"
|
# - "host.docker.internal:host-gateway"
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
image: mongo
|
image: mongo
|
||||||
|
|||||||
@@ -14,19 +14,19 @@ server {
|
|||||||
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
|
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
|
||||||
}
|
}
|
||||||
|
|
||||||
location /git-app-api {
|
# location /git-app-api {
|
||||||
proxy_set_header X-Real-RIP $remote_addr;
|
# proxy_set_header X-Real-RIP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
||||||
proxy_set_header Host $http_host;
|
# proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-NginX-Proxy true;
|
# proxy_set_header X-NginX-Proxy true;
|
||||||
|
|
||||||
proxy_pass http://git-app:3000/;
|
# proxy_pass http://git-app:3000/;
|
||||||
proxy_redirect off;
|
# proxy_redirect off;
|
||||||
# proxy_redirect http://localhost:8080/ http://frontend.example.com/;
|
# # proxy_redirect http://localhost:8080/ http://frontend.example.com/;
|
||||||
|
|
||||||
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
|
# proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
|
||||||
}
|
# }
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
|
|||||||
Reference in New Issue
Block a user