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 2022/02/27 18:32:14 UTC
[GitHub] [superset] jacobcroope opened a new issue #18956: Docker-Compose dev deployment can't change port and non-dev ignores config file settings.
jacobcroope opened a new issue #18956:
URL: https://github.com/apache/superset/issues/18956
I added `DASHBOARD_RBAC = True` to a working superset_docker_config.py configuration serving on port 80.
`SUPERSET_WEBSERVER_PORT = 80`
The superset container served on 8088 every time regardless of config settings changes in .env, .env-non-dev, superset/superset_config.py
changing .env-non-dev to
`SUPERSET_PORT=80`
In addition to docker-compose-non-dev.yml
```
superset:
env_file: docker/.env-non-dev
image: *superset-image
container_name: superset_app
command: ["/app/docker/docker-bootstrap.sh", "app-gunicorn"]
user: "root"
restart: unless-stopped
ports:
- 80:80
depends_on: *superset-depends-on
volumes: *superset-volumes
```
Made a non-dev container boot and serve on :80
Launching docker-compose up for a dev version fails to start if you follow similar procedure.
Only other potentially relevant bit of information is that `docker-compose build superset-websocket` had to be run to complete a non-dev build on port 8088.
Clean git clone
Python 3.8.10
Flask 1.1.4
Werkzeug 1.0.1
Superset 1.4.1
Clean clone as of 2/27/2022
- [] I have checked the superset logs for python stacktraces and included it here as text if there are any. I couldn't find these any guidance?
- [X] I have reproduced the issue with at least the latest released version of superset.
- [X] I have checked the issue tracker for the same issue and I haven't found one similar.
--
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
[GitHub] [superset] jacobcroope commented on issue #18956: Docker-Compose dev deployment can't change port and non-dev ignores config file settings.
Posted by GitBox <gi...@apache.org>.
jacobcroope commented on issue #18956:
URL: https://github.com/apache/superset/issues/18956#issuecomment-1055963369
Yes, it is importing correctly. I am able to connect to the database on RDS configured through it without issue.
--
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
[GitHub] [superset] jacobcroope edited a comment on issue #18956: Docker-Compose dev deployment can't change port and non-dev ignores config file settings.
Posted by GitBox <gi...@apache.org>.
jacobcroope edited a comment on issue #18956:
URL: https://github.com/apache/superset/issues/18956#issuecomment-1055963369
Thanks @marklonghurst Yes, it is importing correctly. I see what caused the confusion. I meant superset/config.py. I am able to connect to the database on RDS configured through it without issue.
--
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
[GitHub] [superset] jacobcroope commented on issue #18956: Docker-Compose dev deployment can't change port and non-dev ignores config file settings.
Posted by GitBox <gi...@apache.org>.
jacobcroope commented on issue #18956:
URL: https://github.com/apache/superset/issues/18956#issuecomment-1053729430
For anyone who searches this out in the future. `FEATURE_FLAGS = {"DASHBOARD_RBAC": True}`
Is the correct way to enable Dashboard Role Based Access Controls in your custom config. I need to PR this into the docs after testing.
--
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
[GitHub] [superset] marklonghurst commented on issue #18956: Docker-Compose dev deployment can't change port and non-dev ignores config file settings.
Posted by GitBox <gi...@apache.org>.
marklonghurst commented on issue #18956:
URL: https://github.com/apache/superset/issues/18956#issuecomment-1055949905
By default the file should be called superset_config_docker.py to be imported correctly. Can you confirm if the files being imported correctly?
--
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