Sign inSign up

jjdevelopment/jj-redirect

By jjdevelopment

•Updated almost 5 years ago

A lillte docker application to redirect to a url.

Image
1

1.1K

jjdevelopment/jj-redirect repository overview

⁠J&J Redirect

GitHub go.mod Go version of a Go module Go Docker Image CI Docker Hub

This code can be used to create a Docker container that can be used to redirect to a URL. You can find the corresponding image here⁠ in Docker Hub.

⁠Start container

In order for a target to be defined, the REDIRECT_TARGET variable must be defined. This then works as follows.

docker run --name redirect -d --restart always -e REDIRECT_TARGET=https://jj-ideenschmiede.de -p 80:80 jjdevelopment/jj-redirect:latest

Tag summary

Content type

Image

Digest

Size

336.5 MB

Last updated

almost 5 years ago

docker pull jjdevelopment/jj-redirect