-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
45 lines (42 loc) · 986 Bytes
/
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
version: "3.3"
services:
mysql:
image: elestio/mysql:8.0
restart: always
hostname: mysql
volumes:
- ./storage/mysql:/var/lib/mysql
env_file:
- ./.env
ports:
- "172.17.0.1:50778:3306"
glpi:
image: elestio/glpi:${SOFTWARE_VERSION_TAG}
restart: always
hostname: glpi
ports:
- "172.17.0.1:22571:80"
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ./storage/var/www/html/glpi/:/var/www/html/glpi
- ./apache/php.ini:/etc/php/8.1/apache2/php.ini
environment:
- TIMEZONE=Europe/Brussels
pma:
image: phpmyadmin
restart: always
links:
- mysql:mysql
ports:
- "172.17.0.1:22811:80"
environment:
PMA_HOST: mysql
PMA_PORT: 3306
PMA_USER: root
PMA_PASSWORD: ${ADMIN_PASSWORD}
UPLOAD_LIMIT: 500M
MYSQL_USERNAME: glpi
MYSQL_ROOT_PASSWORD: ${ADMIN_PASSWORD}
depends_on:
- mysql