Chore/set entrypoint scripts permissions (#5726)

This commit is contained in:
Chenhe Gu 2024-06-29 00:48:34 +08:00 committed by GitHub
parent d435230059
commit f33ef92f0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -375,7 +375,7 @@ services:
volumes:
- ./ssrf_proxy/squid.conf.template:/etc/squid/squid.conf.template
- ./ssrf_proxy/docker-entrypoint.sh:/docker-entrypoint.sh
entrypoint: /docker-entrypoint.sh
entrypoint: ["sh", "-c", "chmod +x /docker-entrypoint.sh && /docker-entrypoint.sh"]
environment:
# pls clearly modify the squid env vars to fit your network environment.
HTTP_PORT: ${HTTP_PORT:-3128}
@ -398,7 +398,7 @@ services:
- ./nginx/conf.d:/etc/nginx/conf.d
- ./nginx/docker-entrypoint.sh:/docker-entrypoint.sh
- ./nginx/ssl:/etc/ssl
entrypoint: /docker-entrypoint.sh
entrypoint: ["sh", "-c", "chmod +x /docker-entrypoint.sh && /docker-entrypoint.sh"]
environment:
NGINX_SERVER_NAME: ${NGINX_SERVER_NAME:-_}
HTTPS_ENABLED: ${HTTPS_ENABLED:-false}