mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 17:26:36 +00:00
remove secret scanning from prod docker compose
This commit is contained in:
+13
-13
@@ -41,19 +41,19 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- infisical
|
- infisical
|
||||||
|
|
||||||
secret-scanning-git-app:
|
# secret-scanning-git-app:
|
||||||
container_name: infisical-secret-scanning-git-app
|
# container_name: infisical-secret-scanning-git-app
|
||||||
restart: unless-stopped
|
# restart: unless-stopped
|
||||||
depends_on:
|
# depends_on:
|
||||||
- backend
|
# - backend
|
||||||
- frontend
|
# - frontend
|
||||||
- mongo
|
# - mongo
|
||||||
ports:
|
# ports:
|
||||||
- "3000:3001"
|
# - "3000:3001"
|
||||||
image: infisical/staging_deployment_secret-scanning-git-app
|
# image: infisical/staging_deployment_secret-scanning-git-app
|
||||||
env_file: .env
|
# env_file: .env
|
||||||
networks:
|
# networks:
|
||||||
- infisical
|
# - infisical
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
container_name: infisical-mongo
|
container_name: infisical-mongo
|
||||||
|
|||||||
+10
-10
@@ -15,19 +15,19 @@ server {
|
|||||||
proxy_cookie_path / "/; HttpOnly; SameSite=strict";
|
proxy_cookie_path / "/; 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