-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
62 lines (55 loc) · 1.64 KB
/
docker-compose.dev.yml
File metadata and controls
62 lines (55 loc) · 1.64 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
58
59
60
61
62
---
services:
profiling_visualizer:
build:
context: .
dockerfile: Dockerfile-webgrind-nginx-only
volumes:
- "tmp:/tmp"
ports:
- "80"
profiling_visualizer_egine:
image: dcycle/webgrind:1
volumes:
- "tmp:/tmp"
mail:
# Dummy email client for development, see ./README.md.
image: mailhog/mailhog
ports:
- "8025"
webserver:
volumes:
- "./drupal/custom-modules:/var/www/html/modules/custom"
- "./drupal/custom-themes:/var/www/html/themes/custom"
- "./do-not-commit/dom-captures:/var/www/html/dom-captures"
drupal:
build:
context: .
dockerfile: Dockerfile-drupal-dev
volumes:
- "./drupal/custom-modules:/var/www/html/modules/custom"
- "./drupal/custom-themes:/var/www/html/themes/custom"
- "./drupal/config:/var/www/config"
- "./drupal/scripts:/scripts"
- "./drupal/starter-data:/starter-data"
- "./do-not-commit/log:/var/log"
- "./do-not-commit/dom-captures:/var/www/html/dom-captures"
- "tmp:/tmp"
# Database server
mysql:
image: mariadb
volumes:
- ./mysql/cnf:/etc/mysql/conf.d
# Specifying the network name makes it predictable on all environments,
# for example when running ./scripts/migrate-all.sh, or when running browser
# tests on a CI environment, or any other tasks which requires external
# docker containers to connect to our network.
# This network (starterkit_drupalsite_default) has been previously created in
# ./scripts/deploy.sh
# See https://github.com/docker/compose/issues/3736.
networks:
default:
external: true
name: starterkit_drupalsite_default
volumes:
tmp: