mirror of
https://github.com/DiouxX/docker-glpi.git
synced 2026-11-05 06:52:32 -05:00
Remove useless Busybox container
This commit is contained in:
1 parent
c1560a4137
commit
c160bc51b7
1 file changed
+5
-20
+5
-20
@@ -1,30 +1,16 @@
|
||||
version: "2"
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
#Mysql Persitance Data
|
||||
mysql-data:
|
||||
image: busybox
|
||||
container_name: mysql-data
|
||||
volumes:
|
||||
- /var/lib/mysql:/var/lib/mysql
|
||||
|
||||
#Mysql Container
|
||||
mysql:
|
||||
image: mysql:5.7.23
|
||||
container_name: mysql
|
||||
hostname: mysql
|
||||
volumes_from:
|
||||
- mysql-data
|
||||
volumes:
|
||||
- /var/lib/mysql:/var/lib/mysql
|
||||
env_file:
|
||||
- ./mysql.env
|
||||
|
||||
#GLPI Pesitance Data
|
||||
glpi-data:
|
||||
image: busybox
|
||||
container_name: glpi-data
|
||||
volumes:
|
||||
- /var/www/html/glpi:/var/www/html/glpi
|
||||
|
||||
#GLPI Container
|
||||
glpi:
|
||||
image: diouxx/glpi
|
||||
@@ -34,11 +20,10 @@ services:
|
||||
- "80:80"
|
||||
links:
|
||||
- mysql:mysql
|
||||
volumes_from:
|
||||
- glpi-data
|
||||
volumes:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /var/www/html/glpi/:/var/www/html/glpi
|
||||
environment:
|
||||
- TIMEZONE=Europe/Brussels
|
||||
restart: always
|
||||
restart: always
|
||||
Reference in new issue
Block a user