-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (46 loc) · 879 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (46 loc) · 879 Bytes
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
version: '3'
services:
web:
image: glpi-conteiner:latest
ports:
- '80:8080'
volumes:
- glpi:/var/www/html
depends_on:
- mariadb
extra_hosts:
- 'localhost:127.0.0.1'
networks:
- glpi-network
phpmyadmin:
image: phpmyadmin:latest
ports:
- 8081:80
environment:
- PMA_ARBITRARY=1
- PMA_HOST=mariadb
depends_on:
- mariadb
volumes:
- ./php/php.ini:/usr/local/etc/php/php.ini
networks:
- glpi-network
mariadb:
image: mariadb:latest
restart: always
environment:
MYSQL_ROOT_PASSWORD: 'secret'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'pass'
MYSQL_DATABASE: 'glpi'
volumes:
- mysqldata:/var/lib/mysql
ports:
- 3306:3306
networks:
- glpi-network
volumes:
glpi: {}
mysqldata: {}
networks:
glpi-network: {}