update docker docs, fix links, add export cmd

This commit is contained in:
Maidul Islam
2022-12-08 19:02:17 -05:00
parent aa218d2ddc
commit 68d51d402a
9 changed files with 16 additions and 13 deletions

View File

@@ -4,14 +4,14 @@ title: "Docker Compose"
The Docker Compose integration enables you to inject environment variables from Infisical into the containers defined in your compose file.
## Add the CLI to your Dockerfile(s)
## Add the CLI to your Dockerfile(s) start command
Follow steps 1 through 3 on our [guide to configure Infisical CLI](../integrations/platforms/docker) in your Dockerfile.
Follow the [guide to configure Infisical CLI](./docker) in your your Dockerfile first.
## Generate Infisical Token
In order for Infisical CLI to authenticate and retrieve your project's secrets without exposing your login credentials, you must generate a Infisical Token.
To learn how, visit [Infisical Token](../getting-started/cli/infisical-token). Once you have generated the token, keep it handy.
To learn how, visit [Infisical Token](../../getting-started/dashboard/token). Once you have generated the token, keep it handy.
<Info>
If you have multiple services and they do not use the same secrets, you will