WIP: feat: adds iocaine config #114
Reference in New Issue
Block a user
Delete Branch "devydave/traefik:feature/iocaine"
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?
abra.shLooking 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" }}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.sounds good to me and the entrypoint.iocaine.sh is called instead of the current code block?
I will take a look tomorrow.
@@ -0,0 +14,4 @@environment:RUST_LOG: "iocaine=info"ports:- target: 42069@decentral1se at this point I want to use the
host_ip:127.0.0.1property to prevent the public porthttps://docs.docker.com/reference/compose-file/services/#ports
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.godoes not support it.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/
OK, good to know
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.