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

Start roughing out how github action deploys could work #189

Merged
merged 9 commits into from
Oct 30, 2021
Merged

Conversation

markstory
Copy link
Member

Updating elasticsearch from the container is going to be the hard part as I don't know if the address will be exposed to the build environment.

Updating elasticsearch from the container is going to be the hard
part as I don't know if the address will be exposed to the build
environment.
docs.Dockerfile Outdated
@@ -7,6 +7,10 @@ COPY docs /data/docs
RUN cd /data/docs-builder && \
make website LANGS="en es fr" SOURCE=/data/docs DEST=/data/website

# Update elastic search index
RUN cd /data/docs-builder && \
make populate-index LANGS="en es fr" SOURCE=/data/docs ES_HOST="$DOKKU_ELASTICSEARCH_AQUA_URL" SEARCH_URL_PREFIX="/authorization/2"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think DOKKU_ELASTICSEARCH_AQUA_URL will be set, nor do I yet know how I will set the appropriate value either as a dokku build option or some other sorcery.

This isn't tested or polished but it has a better chance of working. We
probably need to make re-usable container for nginx + php, or find one.

If this works I'll clean it up before copy/pasting :)
@markstory markstory merged commit 0f11ec4 into 2.x Oct 30, 2021
@markstory markstory deleted the dokku-deploy branch October 30, 2021 03:21
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.

1 participant