https://github.com/m-adamski/glpi-docker
Docker image with GLPI and NGINX.
https://github.com/m-adamski/glpi-docker
docker docker-compose glpi traefik
Last synced: about 2 months ago
JSON representation
Docker image with GLPI and NGINX.
- Host: GitHub
- URL: https://github.com/m-adamski/glpi-docker
- Owner: m-adamski
- License: gpl-3.0
- Created: 2022-10-12T09:58:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T11:19:49.000Z (over 3 years ago)
- Last Synced: 2025-03-06T00:01:44.518Z (over 1 year ago)
- Topics: docker, docker-compose, glpi, traefik
- Language: Dockerfile
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker GLPI & NGINX
Docker image with GLPI and NGINX.
* [GLPI Project](https://glpi-project.org)
* [Traefik Proxy](https://traefik.io/traefik/)
The image was prepared for private use and is not an official Docker image released by the GLPI publisher. The configuration has not been scanned for possible security vulnerabilities. Recommended use in the internal network without internet access.
## Additional configuration steps:
1. Generate secure credentials for MySQL database and fill docker-compose.yaml file
```yaml
environment:
- MYSQL_USER=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=
- MYSQL_ROOT_PASSWORD=
```
2. Specify GLPI version which you want to download while building image - default: 10.0.5
```yaml
build:
context: .
args:
GLPI_VERSION: 10.0.5
```
3. Choose domain for your GLPI instance and change it in service label - default: localhost
```yaml
labels:
- traefik.enable=true
- traefik.port=80
- traefik.http.routers.glpi.rule=Host(`localhost`)
- traefik.http.routers.glpi.tls=false
```
4. Enable SSL in service label and traefik configuration
```yaml
labels:
- traefik.http.routers.glpi.tls=true
```
```yaml
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: ":443"
# TLS configuration
tls:
certificates:
- certFile: /certificates/STAR.example.com/STAR.example.com.pem
keyFile: /certificates/STAR.example.com/STAR.example.com.key
```