You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/09/23 16:29:40 UTC

[GitHub] [superset] manishbansal8843 edited a comment on issue #16811: Add CA bundle to superset docker container

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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org