diff --git a/cmd/atlas/doc.tmpl b/cmd/atlas/doc.tmpl index b1ee0d21534..03ae307bf6a 100644 --- a/cmd/atlas/doc.tmpl +++ b/cmd/atlas/doc.tmpl @@ -77,7 +77,7 @@ Atlas encrypts sensitive data such as passwords using the generated keyset.json. #### Flags ``` ---addr string listen address for atlas serve (default ":8080") +--addr string listen address for atlas serve (default ":5800") --storage string data store url using the dsn format: [driver://username:password@protocol(address)/dbname?param=value] (default "in-memory") -h, --help help for serve diff --git a/doc/md/cli/reference.md b/doc/md/cli/reference.md index 11d7cffc317..2636ce232fd 100644 --- a/doc/md/cli/reference.md +++ b/doc/md/cli/reference.md @@ -211,7 +211,7 @@ Atlas encrypts sensitive data such as passwords using the generated keyset.json. #### Flags ``` ---addr string listen address for atlas serve (default ":8080") +--addr string listen address for atlas serve (default ":5800") --storage string data store url using the dsn format: [driver://username:password@protocol(address)/dbname?param=value] (default "in-memory") -h, --help help for serve diff --git a/doc/md/deployment/intro.md b/doc/md/deployment/intro.md index ffb52b96465..6cbb2c5cf8c 100644 --- a/doc/md/deployment/intro.md +++ b/doc/md/deployment/intro.md @@ -48,14 +48,14 @@ You can use this image to run the CLI and to serve the Atlas UI. To run Atlas in served and persisted mode inside a container: ``` -docker run -v $HOME/.atlas/keyset.json:/root/.atlas/keyset.json -p 8080:8080 arigaio/atlas:latest serve --addr 0.0.0.0:8080 --storage "mysql://root:pass@tcp(host.docker.internal:3306)/atlas" +docker run -v $HOME/.atlas/keyset.json:/root/.atlas/keyset.json -p 5800:5800 arigaio/atlas:latest serve --addr :5800 --storage "mysql://root:pass@tcp(host.docker.internal:3306)/atlas" ``` Let's review this command step by step: 1. ```docker run``` - running a command. 2. ```-v $HOME/.atlas/keyset.json:/root/.atlas/keyset.json``` binds a secret key from a persisted host into the docker container. If you don't have a key, use an empty file and Atlas will generate one for you. -3. ``` -p 8080:8080``` binds an exposed serving port for connecting with a web client. -4. ```8080:8080 arigaio/atlas:latest``` use the latest atlas image, for a versioned release use a specific tag such as ```arigaio/atlas:0.3.6```. -5. ```serve --addr 0.0.0.0:8080 --storage "mysql://root:pass@tcp(host.docker.internal:3306)/atlas"``` serve Atlas on port 8080 with a persistent MySQL Database. +3. ``` -p 5800:5800``` binds an exposed serving port for connecting with a web client. +4. ```5800:5800 arigaio/atlas:latest``` use the latest atlas image, for a versioned release use a specific tag such as ```arigaio/atlas:0.3.6```. +5. ```serve --addr :5800 --storage "mysql://root:pass@tcp(host.docker.internal:3306)/atlas"``` serve Atlas on port 5800 with a persistent MySQL Database.