Skip to content

Add vote_key to docker-compose - #101

Merged
bastianjoel merged 1 commit into
feature/votefrom
vote_key
Nov 23, 2026
Merged

bastianjoel merged 1 commit into
feature/votefrom
vote_key

Conversation

@ostcar

@ostcar ostcar commented Nov 22, 2026

Copy link
Copy Markdown
Member

This should fix localprod for the new vote-service:

OpenSlides/openslides-vote-service#650

@m-schieder the secret vote_key was added here: https://github.com/OpenSlides/openslides-cli/pull/67/changes

Do you know, why you added it? Was it for the new vote-service? Is there a reason, you called the file vote_key instead of the default name vote_secret_key?

@bastianjoel localprod uses the main of openslides-cli. So to use it, you have to wait, until this is merged. To start localprod with the new vote service right away, you have to modify the docker-compose file in localprod. You can see the changes in this pr, that are necessary:

  • Add the environment variable VOTE_SECRET_KEY_FILE to x-default-environment.
  • Add the secret vote_key to the secrets in the vote-block
  • Create the secret vote_key at the bottom of the file

@bastianjoel
bastianjoel changed the base branch from main to feature/vote November 23, 2026 07:53
@bastianjoel
bastianjoel merged commit f5a0df4 into feature/vote Nov 23, 2026
3 checks passed
@bastianjoel
bastianjoel deleted the vote_key branch November 23, 2026 08:48
@m-schieder

m-schieder commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

@ostcar

Do you know, why you added it? Was it for the new vote-service?

We added it because it makes it easier to test features/votes and it doesn't
bother if there's one more file lying around for older instances. So yes it is
for the new vote-service.

Is there a reason, you called the file vote_key instead of the default name vote_secret_key?

No secret in the secrets folder has secret in its name. Why should this secret have that?
Would also be a bit redundant because it is in the secrets folder.

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

Successfully merging this pull request may close these issues.

3 participants