updt: Docker-Compose

parent f9a06231
Pipeline #1123 passed with stages
in 40 seconds
version: '3.4'
version: '3.6'
services:
glpi:
image: docker.fricouv.eu/vfricou/glpi:9.3-beta
app:
image: docker.fricouv.eu/vfricou/glpi:latest
ports:
- 8002:80
- 80:80
volumes:
- ${PWD}/datas/glpi/config_db.php:/var/www/html/config/config_db.php:ro
- ${PWD}/datas/glpi/plugins:/var/www/html/plugins
depends_on:
- db
restart: always
db:
image: mariadb:latest
volumes:
- ${PWD}/config_db.php:/var/www/html/config/config_db.php:ro
- ${PWD}/plugins:/var/www/html/plugins
- ${PWD}/datas/mariadb/:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD: root
- MYSQL_DATABASE: glpi
- MYSQL_USER: glpi
- MYSQL_PASSWORD: glpi
restart: always
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment