WIP: feat: adds iocaine config #114

Draft
devydave wants to merge 2 commits from devydave/traefik:feature/iocaine into master
Member
* [X] I have deployed and tested my changes * [X] I have [updated relevant versions in `abra.sh`](https://docs.coopcloud.tech/maintainers/upgrade/#updating-versions-in-the-abrash) * [X] I have made my environment variable changes [backwards compatible](https://docs.coopcloud.tech/maintainers/upgrade/#backwards-compatible-environment-variable-changes) * [ ] I have added a [release note entry](https://docs.coopcloud.tech/maintainers/upgrade/#creating-new-release-notes)
devydave added 1 commit 2026-06-26 10:16:57 +00:00
feat: adds iocaine config
continuous-integration/drone/pr Build is failing
536d958468
decentral1se reviewed 2026-07-01 10:49:04 +00:00
decentral1se left a comment
Owner

Looking good to me, let us know when it's ready!

Looking good to me, let us know when it's ready!
@@ -15,4 +15,16 @@ export DO_AUTH_TOKEN=$(cat "$DO_AUTH_TOKEN_FILE")
export AZURE_CLIENT_SECRET=$(cat "$AZURE_CLIENT_SECRET_FILE")
{{ end }}
{{ if eq (env "IOCAINE_ENABLE") "1" }}
Owner

This seems a bit involved.... would it perhaps be an idea to throw it into it's own entrypoint.iocaine.sh.tmpl? Then you call the default entrypoint and then run this one with some additional logging to signal what is going on? Might be unecessary but see what you think. If other plugins get implemented, it might be nice to start with this "separated" pattern.

This seems a bit involved.... would it perhaps be an idea to throw it into it's own `entrypoint.iocaine.sh.tmpl`? Then you call the default entrypoint and then run this one with some additional logging to signal what is going on? Might be unecessary but see what you think. If other plugins get implemented, it might be nice to start with this "separated" pattern.
Author
Member

sounds good to me and the entrypoint.iocaine.sh is called instead of the current code block?
I will take a look tomorrow.

sounds good to me and the entrypoint.iocaine.sh is called instead of the current code block? I will take a look tomorrow.
devydave added 1 commit 2026-07-03 11:10:56 +00:00
refactor: add seperate entrypoint for plugin init
continuous-integration/drone/pr Build is failing
d79d4ab12d
devydave reviewed 2026-07-03 11:15:19 +00:00
@@ -0,0 +14,4 @@
environment:
RUST_LOG: "iocaine=info"
ports:
- target: 42069
Author
Member

@decentral1se at this point I want to use the host_ip:127.0.0.1 property to prevent the public port
https://docs.docker.com/reference/compose-file/services/#ports

@decentral1se at this point I want to use the `host_ip:127.0.0.1` property to prevent the public port https://docs.docker.com/reference/compose-file/services/#ports
Owner

As it turns out, it seems like toolshed/abra#816 is required because otherwise, we end up in a linting failure which is due to vendor/github.com/docker/cli/opts/swarmopts/port.go does not support it.

As it turns out, it seems like https://git.coopcloud.tech/toolshed/abra/pulls/816 is required because otherwise, we end up in a linting failure which is due to `vendor/github.com/docker/cli/opts/swarmopts/port.go` does not support it.
Owner

There is a way to let traefik install plugins. Did you try this?
https://plugins.traefik.io/install

This way we could remove the custom entrypoint

There is a way to let traefik install plugins. Did you try this? https://plugins.traefik.io/install This way we could remove the custom entrypoint
Author
Member

There is a way to let traefik install plugins. Did you try this?
https://plugins.traefik.io/install

This way we could remove the custom entrypoint

This is only possible for Github hosted plugins. This is mentioned by the official docs https://iocaine.madhouse-project.org/documentation/3/reverse-proxies/traefik/

> There is a way to let traefik install plugins. Did you try this? > https://plugins.traefik.io/install > > This way we could remove the custom entrypoint This is only possible for Github hosted plugins. This is mentioned by the official docs https://iocaine.madhouse-project.org/documentation/3/reverse-proxies/traefik/
Owner

OK, good to know

OK, good to know
Some checks are pending
continuous-integration/drone/pr Build is failing
This pull request has changes conflicting with the target branch.
  • abra.sh
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u https://git.coopcloud.tech/devydave/traefik feature/iocaine:devydave-feature/iocaine
git checkout devydave-feature/iocaine
Sign in to join this conversation.