-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
57 lines (51 loc) · 1.01 KB
/
compose.yaml
File metadata and controls
57 lines (51 loc) · 1.01 KB
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
services:
db:
image: mariadb
container_name: mariadbdemo
restart: always
networks:
- back_demo
volumes:
- ./db:/var/lib/mysql
environment:
MARIADB_ROOT_PASSWORD: mysmartrootpassword
MARIADB_DATABASE: drupal
MARIADB_USER: drupal
MARIADB_PASSWORD: drupal
phpmyadmin:
image: phpmyadmin
container_name: phpmyadmindemo
networks:
- back_demo
restart: always
ports:
- "8082:80"
depends_on:
- db
drupal:
container_name: kickstartdemo
image: demo_commerce_kickstart_3
networks:
- front_demo
- back_demo
ports:
- "80:80"
depends_on:
- db
restart: always
volumes:
- ./modules:/opt/drupal/web/modules
- ./profiles:/opt/drupal/web/profiles
- ./themes:/opt/drupal/web/themes
- ./sites:/opt/drupal/web/sites
- ./private:/opt/drupal/private
volumes:
db:
modules:
profiles:
themes:
sites:
private:
networks:
front_demo: {}
back_demo: {}