docker-glpi/docker-compose.yaml

42 lines
828 B
YAML
Raw Normal View History

2023-04-19 13:19:40 +00:00
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}
2023-12-13 11:18:31 +00:00
- MARIADB_AUTO_UPGRADE=1
logging:
options:
max-size: 10m
2023-04-19 13:19:40 +00:00
redis:
2023-12-13 11:18:31 +00:00
image: redis:alpine
logging:
options:
max-size: 10m
2023-04-19 13:19:40 +00:00
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
2023-12-13 11:18:31 +00:00
logging:
options:
max-size: 10m