Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on docs #1831

Open
4F2E4A2E opened this issue May 15, 2024 · 1 comment · May be fixed by #1844
Open

Issue on docs #1831

4F2E4A2E opened this issue May 15, 2024 · 1 comment · May be fixed by #1844
Assignees
Labels
🐞 bug Something isn't working 📑 documentation Improvements or additions to documentation

Comments

@4F2E4A2E
Copy link

4F2E4A2E commented May 15, 2024

Path: /integrations/platforms/docker-compose

First, let me thank you for infisical. I think it is a great open-source project and product. You guys rock 🚀

The docker-compose integration is not working for me.

It appears that the mentioned requirement docker-guide is not in sync with the newly introduced machine-identity creds.

infisical is ignoring INFISICAL_MACHINE_IDENTITY_CLIENT_ID and INFISICAL_MACHINE_IDENTITY_CLIENT_SECRET.

FROM alpine:latest

RUN apk add --no-cache bash curl && curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash \
&& apk add infisical
services:
  test:
    image: sha256:2e3 # alpine:latest
    environment:
      - MY_VAR="222"
      - INFISICAL_MACHINE_IDENTITY_CLIENT_ID=${INFISICAL_MACHINE_IDENTITY_CLIENT_ID_FOR_WEB}
      - INFISICAL_MACHINE_IDENTITY_CLIENT_SECRET=${INFISICAL_MACHINE_IDENTITY_CLIENT_SECRET_FOR_WEB}
    command: ["infisical", "run", "--projectId", "dedacted", "--path", "/dedacted", "--", "printenv"]
╰─⠠⠵ docker compose up     
[+] Running 2/0
 ✔ Network test_default   Created                                                                          0.0s 
 ✔ Container test-test-1  Created                                                                          0.0s 
Attaching to test-1
test-1  | It looks you have not yet connected this project to Infisical
test-1  | To do so, run [infisical init] then run your command again
test-1 exited with code 1
@akhilmhdh akhilmhdh added 🐞 bug Something isn't working 📑 documentation Improvements or additions to documentation labels May 16, 2024
@maidul98
Copy link
Collaborator

@DanielHougaard can you please have a look at this when you have time?

@cameralis cameralis linked a pull request May 17, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 📑 documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants