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

docker-compose #100

Closed
ErrorRExorY opened this issue May 15, 2024 · 3 comments
Closed

docker-compose #100

ErrorRExorY opened this issue May 15, 2024 · 3 comments

Comments

@ErrorRExorY
Copy link

ErrorRExorY commented May 15, 2024

Hey, I will just add this here if anyone else has this problem, since I have docker-compose and docker compose, it was confusing, but I had to specify the Vault version in the docker compose file

version: '3.2'

services:
  vault:
    image: vault:1.13.3
    container_name: vault
    environment:
      VAULT_DEV_ROOT_TOKEN_ID: supersecret
    cap_add:
      - IPC_LOCK
    expose:
      - 8200

  supersecret:
    build: ./
    image: algolia/supersecretmessage:latest
    container_name: supersecret
    environment:
      VAULT_ADDR: http://vault:8200
      VAULT_TOKEN: supersecret
      SUPERSECRETMESSAGE_HTTP_BINDING_ADDRESS: ":8082"
    ports:
      - "8082:8082"
    depends_on:
      - vault
      
@logiczny
Copy link

I had exact problem like yours, adding version instead of a latest solved the problem.

@CaptainExorY
Copy link

I had exact problem like yours, adding version instead of a latest solved the problem.

Exactly what I added above, but thanks for clarifying!

@AlienPie
Copy link

AlienPie commented Jun 7, 2024

According to https://hub.docker.com/_/vault, vault has been deprecated and should be replaced with hashicorp/vault. This worked for me.

@jjacque jjacque mentioned this issue Jun 9, 2024
2 tasks
@jjacque jjacque closed this as completed Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants