-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yml
64 lines (59 loc) · 1.2 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#Docker Website
#Web-data Container
web-data:
image: busybox
container_name: web-data
volumes:
- /var/www/html/:/var/www/html
#Web Host config apache container
web-host:
image: busybox
container_name: webhost-config
volumes:
- /opt/web-host/:/opt/proxy-conf
#GLPI container
glpi:
image: diouxx/glpi
container_name: glpi
hostname: glpi
external_links:
- mysql:mysql
volumes_from:
- web-data
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- TIMEZONE=Europe/Brussels
restart: always
#Mediawiki container
mediawiki:
image: diouxx/mediawiki
container_name: mediawiki
hostname: mediawiki
external_links:
- mysql:mysql
volumes_from:
- web-data
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
restart: always
#Apache Proxy Container
apache-proxy:
image: diouxx/apache-proxy
container_name: apache-proxy
hostname: apache-proxy
ports:
- "80:80"
- "443:443"
volumes_from:
- web-host
volumes:
- /etc/ssl/private:/opt/ssl
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
links:
- glpi:glpi
- mediawiki:mediawiki
restart: always