Docker Compose file(s) #14965
-
Hi there! I'd like to start a (philosophical) discussion about how to bring up Apache Superset onto ECS/Fargate using the existing Docker Compose file(s). For background, Docker has introduced a new feature that allows Docker customers to deploy their compose files to Amazon ECS in addition to bring up the stack locally. Here is a blog I wrote that talks about this capability. I am not asking this community to go deep into the Compose/ECS integration... I am more keen to understand the layout of the compose files in this repo. Onto my doubts.... ( I will disclose I don't know Superset at all so bear with me please). This repo contains a It's as if to deploy in production it is assumed to clone the repo on a docker host and compose up the "non-dev" compose file? I did work this around by 1) creating a new image with a new Dockerfile that does FROM the original image ( The specific questions I have are:
I may have more questions depending on where this goes. Thanks for your patient! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @mreferre generally speaking the Docker Compose setup in Superset is really only for one-command spin-up locally. This is convenient for people who know just enough about the command line but may not be full stack software engineers. For a while, there was only So @nytai created |
Beta Was this translation helpful? Give feedback.
Hi @mreferre generally speaking the Docker Compose setup in Superset is really only for one-command spin-up locally. This is convenient for people who know just enough about the command line but may not be full stack software engineers.
For a while, there was only
docker-compose.yml
which built frontend assets from scratch. This meant that many many people would rundocker-compose up
and see "a blank screen". The frontend assets weren't done building yet, and this was confusing to newcomers.So @nytai created
docker-compose-non-dev.yml
to just use pre-built frontend assets. This makes it less ideal for development of course, hence the deliberate naming of non-dev :]