-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (53 loc) · 1.24 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
volumes:
db_data:
driver: local
services:
boneframework.docker:
build:
context: ./build
dockerfile: ./httpd/Dockerfile
args:
DOMAIN_NAME: '${DOMAIN_NAME}'
ports:
- 80:80
- 443:443
volumes_from:
- app
php:
build:
context: ./build
dockerfile: ./php/Dockerfile
ports:
- 9000
volumes_from:
- app
env_file: '.env'
user: php:staff
node:
build: ./build/node
volumes_from:
- app
ports:
- 8080:8080
- 3000:3000
app:
image: httpd:2.4.38
volumes:
- ./code:/var/www/html
command: "echo true"
mariadb:
image: mariadb:10.7.1
volumes:
- ./build/data:/docker-entrypoint-initdb.d
- db_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: '${MYSQL_ROOT_PASSWORD}'
MYSQL_USER: '${MYSQL_USER}'
MYSQL_PASSWORD: '${MYSQL_PASSWORD}'
ports:
- 3306:3306
mail:
image: mailhog/mailhog
ports:
- 1025:1025
- 8025:8025