forked from XGProyect/XG-Proyect-v3.x.x
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (41 loc) · 813 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (41 loc) · 813 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
version: "3.8"
services:
xgproyect-v3:
build:
context: .
args:
PHP_VERSION: 7.4
container_name: xgproyect-v3
restart: always
ports:
- 3001:80
- 3002:443
volumes:
- .:/var/www/html
depends_on:
- db
db:
image: mysql:5.7
restart: on-failure
ports:
- 33060:3306
volumes:
- ./data.d:/docker-entrypoint-initdb.d
- ./data:/var/lib/mysql
environment:
MYSQL_DATABASE: xgp
MYSQL_ROOT_PASSWORD: root
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- 8081:80
environment:
MYSQL_ROOT_PASSWORD: root
PMA_HOST: db
mailhog:
image: mailhog/mailhog
container_name: mailhog
restart: on-failure
ports:
- 1025:1025 # smtp server
- 8025:8025 # web ui