manishbansal8843 edited a comment on issue #16811:
URL: https://github.com/apache/superset/issues/16811#issuecomment-925969182


   Final Update: 
   
   I mounted my ca bundle on the container at path `/app/docker/mycacert.pem`. 
Further, I created one sh file called as `start.sh` and mounted it on superset 
container at `/app/docker/start.sh` with below code.
   
   ```
   cat /app/docker/mycacert.pem >> 
/usr/local/lib/python3.7/site-pacakges/certifi/cacert.pem
   
   gunicorn --bind  0.0.0.0:443 --access-logfile - --error-logfile - --workers 
5 --worker-class gthread --threads 4 --timeout 200 --limit-request-line 4094 
--limit-request-field_size 8190 'superset.app:create_app()'
   ```
   Further, docker-compose.yml is modified and replaced command parameter as 
below.
   `command: ["/app/docker/start.sh"]`
   
   However, this feels like a hack and it would be great if some standard 
solution is made available. Thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to