Compare commits
No commits in common. "a7cc130a8465d408b9c3cbf7d8089c5174a18a14" and "87af5c350ab4c8b5aa94392e29779f132bec0032" have entirely different histories.
a7cc130a84
...
87af5c350a
3 changed files with 0 additions and 56 deletions
|
@ -1,5 +0,0 @@
|
||||||
# IT-Tools Version (Standard: latest)
|
|
||||||
ITTOOLS_VERSION=latest
|
|
||||||
|
|
||||||
# IT-Tools Domain
|
|
||||||
ITTOOLS_DOMAIN=it-tools.example.com
|
|
|
@ -1,27 +0,0 @@
|
||||||
# IT-Tools Docker Deployment
|
|
||||||
|
|
||||||
This repository provides a `docker-compose` configuration for deploying the IT-Tools container, which is accessible via Traefik as a reverse proxy.
|
|
||||||
|
|
||||||
## Prerequisites
|
|
||||||
- Docker and Docker Compose must be installed
|
|
||||||
- Traefik must be set up as a reverse proxy
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
1. **Configure the `.env` file**
|
|
||||||
Rename the `.env-example` file to `.env` and update the file with your specific values. This file contains environment variables used by the Traefik service.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
mv .env-example .env
|
|
||||||
```
|
|
||||||
Modify the .env file
|
|
||||||
```
|
|
||||||
|
|
||||||
2. **Start Docker-Compose**
|
|
||||||
|
|
||||||
```sh
|
|
||||||
docker-compose up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
## Access
|
|
||||||
Once the container is running, IT-Tools will be available at the configured domain.
|
|
|
@ -1,24 +0,0 @@
|
||||||
---
|
|
||||||
services:
|
|
||||||
it-tools:
|
|
||||||
image: corentinth/it-tools:${ITTOOLS_VERSION:-latest}
|
|
||||||
container_name: it-tools
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- traefik
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.docker.network=traefik"
|
|
||||||
- "traefik.http.routers.it-tools.entrypoints=http"
|
|
||||||
- "traefik.http.routers.it-tools.rule=Host(`${ITTOOLS_DOMAIN:?error}`)"
|
|
||||||
- "traefik.http.middlewares.it-tools-https-redirect.redirectscheme.scheme"
|
|
||||||
- "traefik.http.routers.it-tools.middlewares=it-tools-https-redirect"
|
|
||||||
- "traefik.http.routers.it-tools-secure.entrypoints=https"
|
|
||||||
- "traefik.http.routers.it-tools-secure.rule=Host(`${ITTOOLS_DOMAIN:?error}`)"
|
|
||||||
- "traefik.http.routers.it-tools-secure.tls=true"
|
|
||||||
- "traefik.http.routers.it-tools-secure.service=it-tools"
|
|
||||||
- "traefik.http.services.it-tools.loadbalancer.server.port=80"
|
|
||||||
|
|
||||||
networks:
|
|
||||||
traefik:
|
|
||||||
external: true
|
|
Loading…
Add table
Reference in a new issue