mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
feat(docker-compose): add TAG option (#18214)
This commit is contained in:
@@ -58,12 +58,23 @@ Navigate to the folder you created in step 1:
|
||||
$ cd superset
|
||||
```
|
||||
|
||||
Then, run the following command:
|
||||
When working on master branch, run the following commands:
|
||||
|
||||
```bash
|
||||
$ docker-compose -f docker-compose-non-dev.yml pull
|
||||
$ docker-compose -f docker-compose-non-dev.yml up
|
||||
```
|
||||
|
||||
Alternatively, you can also run a specific version of Superset by first checking out
|
||||
the branch/tag, and then starting `docker-compose` with the `TAG` variable.
|
||||
For example, to run the 1.4.0 version, run the following commands:
|
||||
|
||||
```bash
|
||||
% git checkout 1.4.0
|
||||
$ TAG=1.4.0 docker-compose -f docker-compose-non-dev.yml pull
|
||||
$ TAG=1.4.0 docker-compose -f docker-compose-non-dev.yml up
|
||||
```
|
||||
|
||||
You should see a wall of logging output from the containers being launched on your machine. Once
|
||||
this output slows, you should have a running instance of Superset on your local machine!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user