docker-glpi/docker-compose.yaml
paspo fb1c25a18f
All checks were successful
continuous-integration/drone/push Build is passing
Vulnerability Scan / Daily Vulnerability Scan (push) Successful in 2m5s
updated compose
2023-12-13 12:18:31 +01:00

42 lines
828 B
YAML

version: "3.8"
services:
db:
image: mariadb:10
volumes:
- ./db:/var/lib/mysql
environment:
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD}
- MARIADB_DATABASE=${MARIADB_DATABASE}
- MARIADB_USER=${MARIADB_USER}
- MARIADB_PASSWORD=${MARIADB_PASSWORD}
- MARIADB_AUTO_UPGRADE=1
logging:
options:
max-size: 10m
redis:
image: redis:alpine
logging:
options:
max-size: 10m
glpi:
build: .
depends_on:
- db
- redis
ports:
- 8282:80
environment:
- TIMEZONE=Europe/Rome
- INSTALL_OK=1
volumes:
- ./glpi/config:/config
- ./glpi/files:/files
- ./glpi/marketplace:/marketplace
- ./glpi/plugins:/var/www/glpi/plugins
logging:
options:
max-size: 10m