update volumes in docker-compose example

pull/35/merge^2
Antoine Guyon 5 years ago committed by GitHub
parent 065f01301c
commit 3ec82c6f0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,7 +65,7 @@ services:
container_name: mariadb-glpi container_name: mariadb-glpi
hostname: mariadb hostname: mariadb
volumes: volumes:
- /var/lib/mysql:/var/lib/mysql - glpi-db:/var/lib/mysql
env_file: env_file:
- ./mariadb.env - ./mariadb.env
restart: always restart: always
@ -80,10 +80,13 @@ services:
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /var/www/html/glpi/:/var/www/html/glpi - glpi-data:/var/www/html/glpi
environment: environment:
- TIMEZONE=Europe/Paris - TIMEZONE=Europe/Paris
restart: always restart: always
volumes:
glpi-db:
glpi-data:
``` ```
To deploy, just run the following command on the same directory as files To deploy, just run the following command on the same directory as files

Loading…
Cancel
Save