-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
95 lines (86 loc) · 2.21 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: "3.5"
networks:
default:
external:
name: auto
services:
devstack-db:
container_name: devstack-db
image: mariadb:10.5.8
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: devstack
ports:
- 5306:3306
devstack-php71:
container_name: devstack-php71
build:
context: ./
dockerfile: php71/Dockerfile
restart: always
volumes:
- ${PROJECTS_PATH}:/var/www:cached
depends_on:
- devstack-db
- devstack-apache
devstack-php73:
container_name: devstack-php73
build:
context: ./
dockerfile: php73/Dockerfile
restart: always
volumes:
- ${PROJECTS_PATH}:/var/www:cached
depends_on:
- devstack-db
- devstack-apache
devstack-php74:
container_name: devstack-php74
build:
context: ./
dockerfile: php74/Dockerfile
restart: always
volumes:
- ${PROJECTS_PATH}:/var/www:cached
depends_on:
- devstack-db
- devstack-apache
devstack-php80:
container_name: devstack-php80
build:
context: ./
dockerfile: php80/Dockerfile
restart: always
volumes:
- ${PROJECTS_PATH}:/var/www:cached
depends_on:
- devstack-db
- devstack-apache
devstack-php81:
container_name: devstack-php81
build:
context: ./
dockerfile: php81/Dockerfile
restart: always
volumes:
- ${PROJECTS_PATH}:/var/www:cached
depends_on:
- devstack-db
- devstack-apache
devstack-apache:
container_name: devstack-apache
depends_on:
- devstack-db
build:
context: ./
dockerfile: apache/Dockerfile
volumes:
- ${PROJECTS_PATH}:/var/www:cached
- ./apache/vhosts:/usr/local/apache2/conf/vhosts:cached
ports:
- "80:80"
restart: always
volumes:
db_data: {}