Archived
1
3
Fork
You've already forked Docker
1

refactor: use env variables to configure frontend #2

Merged
snematoda merged 1 commit from :main into main 2024年06月18日 17:40:36 +02:00
Contributor
Copy link

depends on Hyperpipe/Hyperpipe#170

version: '3' can be omitted as it's the default anyways, and docker compose shows a warning that it's not needed whenever starting the container on recent versions.

Note that the old way of setting the entrypoint still works, there are no breaking changes, as this has overriden the entrypoint with sh -c 'find /usr/share/nginx/html -type f -exec sed -i s/pipedapi.kavin.rocks/PIPED/g {} \; -exec sed -i s/hyperpipeapi.onrender.com/BACKEND/g {} \; && /docker-entrypoint.sh && nginx -g "daemon off;"', so the entrypoint added in Hyperpipe/Hyperpipe#170 won't be used in that case.

depends on https://codeberg.org/Hyperpipe/Hyperpipe/pulls/170 `version: '3'` can be omitted as it's the default anyways, and docker compose shows a warning that it's not needed whenever starting the container on recent versions. Note that the old way of setting the entrypoint still works, there are no breaking changes, as this has overriden the entrypoint with `sh -c 'find /usr/share/nginx/html -type f -exec sed -i s/pipedapi.kavin.rocks/PIPED/g {} \; -exec sed -i s/hyperpipeapi.onrender.com/BACKEND/g {} \; && /docker-entrypoint.sh && nginx -g "daemon off;"'`, so the entrypoint added in https://codeberg.org/Hyperpipe/Hyperpipe/pulls/170 won't be used in that case.
Commenting is not possible because the repository is archived.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Hyperpipe/Docker!2
Reference in a new issue
Hyperpipe/Docker
No description provided.
Delete branch ":main"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?