initial commit
This commit is contained in:
31
docker-compose.yaml
Normal file
31
docker-compose.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
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}
|
||||
|
||||
redis:
|
||||
image: redis:latest
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user