|
|
|
|
@ -444,6 +444,7 @@ services:
|
|
|
|
|
NEXT_TELEMETRY_DISABLED: ${NEXT_TELEMETRY_DISABLED:-0}
|
|
|
|
|
TEXT_GENERATION_TIMEOUT_MS: ${TEXT_GENERATION_TIMEOUT_MS:-60000}
|
|
|
|
|
CSP_WHITELIST: ${CSP_WHITELIST:-}
|
|
|
|
|
TOP_K_MAX_VALUE: ${TOP_K_MAX_VALUE:-}
|
|
|
|
|
|
|
|
|
|
# The postgres database.
|
|
|
|
|
db:
|
|
|
|
|
@ -513,12 +514,7 @@ services:
|
|
|
|
|
volumes:
|
|
|
|
|
- ./ssrf_proxy/squid.conf.template:/etc/squid/squid.conf.template
|
|
|
|
|
- ./ssrf_proxy/docker-entrypoint.sh:/docker-entrypoint-mount.sh
|
|
|
|
|
entrypoint:
|
|
|
|
|
[
|
|
|
|
|
'sh',
|
|
|
|
|
'-c',
|
|
|
|
|
"cp /docker-entrypoint-mount.sh /docker-entrypoint.sh && sed -i 's/\r$$//' /docker-entrypoint.sh && chmod +x /docker-entrypoint.sh && /docker-entrypoint.sh",
|
|
|
|
|
]
|
|
|
|
|
entrypoint: [ 'sh', '-c', "cp /docker-entrypoint-mount.sh /docker-entrypoint.sh && sed -i 's/\r$$//' /docker-entrypoint.sh && chmod +x /docker-entrypoint.sh && /docker-entrypoint.sh" ]
|
|
|
|
|
environment:
|
|
|
|
|
# pls clearly modify the squid env vars to fit your network environment.
|
|
|
|
|
HTTP_PORT: ${SSRF_HTTP_PORT:-3128}
|
|
|
|
|
@ -565,12 +561,7 @@ services:
|
|
|
|
|
- ./volumes/certbot/conf/live:/etc/letsencrypt/live # cert dir (with certbot container)
|
|
|
|
|
- ./volumes/certbot/conf:/etc/letsencrypt
|
|
|
|
|
- ./volumes/certbot/www:/var/www/html
|
|
|
|
|
entrypoint:
|
|
|
|
|
[
|
|
|
|
|
'sh',
|
|
|
|
|
'-c',
|
|
|
|
|
"cp /docker-entrypoint-mount.sh /docker-entrypoint.sh && sed -i 's/\r$$//' /docker-entrypoint.sh && chmod +x /docker-entrypoint.sh && /docker-entrypoint.sh",
|
|
|
|
|
]
|
|
|
|
|
entrypoint: [ 'sh', '-c', "cp /docker-entrypoint-mount.sh /docker-entrypoint.sh && sed -i 's/\r$$//' /docker-entrypoint.sh && chmod +x /docker-entrypoint.sh && /docker-entrypoint.sh" ]
|
|
|
|
|
environment:
|
|
|
|
|
NGINX_SERVER_NAME: ${NGINX_SERVER_NAME:-_}
|
|
|
|
|
NGINX_HTTPS_ENABLED: ${NGINX_HTTPS_ENABLED:-false}
|
|
|
|
|
|