-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
72 lines (61 loc) · 1.24 KB
/
docker-compose.yaml
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
version: '1'
volumes:
drupal-data:
db-data-d7:
db-data-d10:
services:
mariadb7:
image: mariadb
container_name: mariadb-drupal7
command: --default-authentication-plugin=mysql_native_password
restart: unless-stopped
env_file: .env
volumes:
- db-data-d7:/var/lib/mysql
networks:
- internal
- shared
drupal7:
image: drupal:7-php8.0-apache-bullseye
container_name: drupal7
depends_on:
- mariadb7
restart: unless-stopped
ports:
- 8081:80
networks:
- internal
- external
volumes:
- drupal-data:/drupal
mariadb10:
image: mariadb
container_name: mariadb-drupal10
command: --default-authentication-plugin=mysql_native_password
restart: unless-stopped
env_file: .env
volumes:
- db-data-d10:/var/lib/mysql
networks:
- internal
drupal10:
image: drupal:10.1.2-php8.1-apache-bullseye
container_name: drupal10
depends_on:
- mariadb10
restart: unless-stopped
ports:
- 8082:80
networks:
- internal
- external
- shared
volumes:
- drupal-data:/drupal
networks:
external:
driver: bridge
internal:
driver: bridge
shared:
driver: bridge