-
Notifications
You must be signed in to change notification settings - Fork 0
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
add medienhaus-cms
and medienhaus-api
options to composition
#5
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
andirueckel
force-pushed
the
add-medienhaus-cms-and-medienhaus-api
branch
2 times, most recently
from
October 11, 2023 08:24
fb05bea
to
c81bec1
Compare
andirueckel
force-pushed
the
add-medienhaus-cms-and-medienhaus-api
branch
from
October 11, 2023 08:27
1987e02
to
4cd0019
Compare
andirueckel
changed the title
draft: add
add Oct 13, 2023
medienhaus-cms
and medienhaus-api
to compositionmedienhaus-cms
and medienhaus-api
options to composition
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds
medienhaus-api
andmedienhaus-cms
to the medienhaus/ docker composition.As
medienhaus-api
depends on a validmatrix-synapse
account to manage spaces and rooms, we need to register such an account withmatrix-synapse
before starting up; this splits the.env
variable substitution as well as the start-up of the docker composition in two phases; this pull-request adds theinit.sh
helper script to aid with the second phase.The
init.sh
script is non-repeatable, only executed once for registering themedienhaus-admin
account withmatrix-synapse
and retrieving anaccess_token
and writing it to the.env
file. Theinit.sh
script could be re-run after changingMEDIENHAUS_ADMIN_USER_ID
in.env
, and thereby registering a new account withmatrix-synapse
.The
envsubst.sh
script is repeatable; every time changes are made to.env
or thetemplate/*
files, re-run the script and re-create the configuration files anddocker compose up -d --force-recreate --build --no-deps
…Please consult both scripts’ help/information regarding the different command line arguments in case you’re interested in including
medienhaus-api
and/ormedienhaus-cms
via the following commands:Note: The
etherpad-lite
submodule is pinned attags/v1.9.1
because of a newly introduced bug in theether/ueberDB
dependency, which was fixed by @robertschnuell in ether/ueberDB#464.