-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (37 loc) · 968 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
version: "3.1"
services:
ci_db:
container_name: ci4_training_db
image: mysql:5.7
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
environment:
- MYSQL_DATABASE=ci4_training
- MYSQL_USER=ci4_training
- MYSQL_PASSWORD=ci4_trainingDBPWD
- MYSQL_ROOT_PASSWORD=root
ports:
- "3307:3306"
ci_web:
container_name: ci4_training_web
image: docker.web-essentials.asia:5000/manmath-docker-apache2:0.0.2
ports:
- "80:80"
- "443:443"
depends_on:
- ci_db
volumes:
- ./docker_conf:/docker_conf
- ./docker_conf/apache2/vhost.conf:/etc/apache2/sites-available/000-default.conf:ro
- .:/var/www/html
- /var/www/html/writable
environment:
- USER_ID=1001
- GROUP_ID=1001
command: "sh /docker_conf/scripts/web.sh"
ci_mail:
container_name: ci4_training_mail
image: mailhog/mailhog
ports:
- "8025:8025"