mirror of
https://github.com/DiouxX/docker-glpi.git
synced 2026-11-07 23:42:33 -05:00
Create docker-compose.yml
This commit is contained in:
1 parent
ab2f5ac73d
commit
32b1ee5efc
2 files changed
+30
No files matched your search
@@ -0,0 +1,26 @@
|
|||||||
|
#Mysql Persitance Data
|
||||||
|
mysql-data:
|
||||||
|
image: busybox
|
||||||
|
container_name: mysql-data
|
||||||
|
volumes:
|
||||||
|
- /var/lib/mysql:/var/lib/mysql
|
||||||
|
|
||||||
|
#Mysql Container
|
||||||
|
mysql:
|
||||||
|
image: mysql
|
||||||
|
container_name: mysql
|
||||||
|
hostname: mysql
|
||||||
|
volumes_from:
|
||||||
|
- mysql-data
|
||||||
|
env_file:
|
||||||
|
- ./mysql.env
|
||||||
|
|
||||||
|
#GLPI Container
|
||||||
|
glpi:
|
||||||
|
image: diouxx/glpi
|
||||||
|
container_name : glpi
|
||||||
|
hostname: glpi
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
links:
|
||||||
|
- mysql:mysql
|
||||||
Reference in new issue
Block a user