You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set up a stack for hashicorp vault, though that isn't strictly important to the issue I'm having.
I'm using a git repo, set up in the "Repos" section (actually, it's in a resource sync, of the same). I'm using the path /etc/komodo/repos to set up the stack, also with a resource sync. That part works fine. However, the volume declaration for the config file, ./config.hcl:/vault/config/config.hcl:ro does not work, and when I start, it creates a directory by that name in the container. If I start the compose file outside of periphery, it works as intended.
version: '3.1' services: vault: image: hashicorp/vault:1.18 container_name: vault networks: - proxy ports: #- "8200:8200" # Change this to the following if you have reverse proxy setup - "127.0.0.1:8200:8200" labels: - <irrelevant traefik labels> volumes: - ./config.hcl:/vault/config/config.hcl:ro - <working path not relevant>:/vault/data cap_add: - IPC_LOCK command: server environment: - TZ=America/Chicago restart: always networks: proxy: external: true
Yes it sounds like the above is an issue with how Periphery was setup in docker, which many people ran into because the official compose files also suffered from this problem. But now the files are updated with the fix, you can find it here: https://github.com/moghtech/komodo/blob/main/compose/mongo.compose.yaml#L73
I am trying to set up a stack for hashicorp vault, though that isn't strictly important to the issue I'm having.
I'm using a git repo, set up in the "Repos" section (actually, it's in a resource sync, of the same). I'm using the path /etc/komodo/repos to set up the stack, also with a resource sync. That part works fine. However, the volume declaration for the config file, ./config.hcl:/vault/config/config.hcl:ro does not work, and when I start, it creates a directory by that name in the container. If I start the compose file outside of periphery, it works as intended.
version: '3.1' services: vault: image: hashicorp/vault:1.18 container_name: vault networks: - proxy ports: #- "8200:8200" # Change this to the following if you have reverse proxy setup - "127.0.0.1:8200:8200" labels: - <irrelevant traefik labels> volumes: - ./config.hcl:/vault/config/config.hcl:ro - <working path not relevant>:/vault/data cap_add: - IPC_LOCK command: server environment: - TZ=America/Chicago restart: always networks: proxy: external: true
`[[repo]]
name = "hvault"
description = "test"
tags = ["GitHub","Infrastructure"]
[repo.config]
server = "server-s00xe"
builder = "local"
git_account = ""
repo = ""
[[stack]]
name = "git-vault"
tags = ["git", "Infrastructure","GitHub"]
[stack.config]
server = "server-s00xe"
files_on_host = true
run_directory = "/etc/komodo/repos/hvault"
file_paths = ["docker-compose.yaml"]`
The repository for the compose file is just the compose, the readme.md and the config.hcl file.
The text was updated successfully, but these errors were encountered: