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