Handy Tools for Developers?
IT-Tools
is a Docker container that provides a comprehensive suite of web-based utilities for IT professionals and developers, accessible through a browser interface. It is designed to simplify common tasks such as code conversion, SQL query building, password generation, JWT parsing, and more. The container can be deployed using Docker Compose with a standard configuration file that specifies the image, port mapping, restart policy, and container name.
First, ensure you have a working docker on your system, and you can follow this guide in case you need to set it up.
Next is to create the docker-compose.yaml
file and paste this in:
services:
it-tools:
image: 'corentinth/it-tools:latest'
restart: unless-stopped
container_name: it-tools
networks:
- traefik
ports:
- '3078:80'
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.it-tools-http.entrypoints=http"
- "traefik.http.routers.it-tools-http.middlewares=redir-https"
- "traefik.http.routers.it-tools-http.rule=Host(`it-tools.linuxpad.blog`)"
- "traefik.http.routers.it-tools-http.service=noop@internal"
- "traefik.http.routers.it-tools-https.entrypoints=https"
- "traefik.http.routers.it-tools-https.tls=true"
- "traefik.http.routers.it-tools-https.middlewares=gzip"
- "traefik.http.routers.it-tools-https.rule=Host(`it-tools.linuxpad.blog`)"
- "traefik.http.services.it-tools-backend.loadbalancer.server.scheme=http"
- "traefik.http.services.it-tools-backend.loadbalancer.server.port=80"
- "traefik.http.routers.it-tools-https.middlewares=authelia@docker"
networks:
traefik:
external: true
This uses traefik
as the reverse proxy and you can disable it if you do not need it or have an alternative like nginx
or caddy
. However, if you ever need to replicate this setup, follow this guide below to set traefik
up.
That'ts it! Start your conatiner with docker compose up -d
and you should see a page like this:
