-
Notifications
You must be signed in to change notification settings - Fork 91
/
docker-compose.yml
42 lines (39 loc) · 1.02 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
version: '3'
services:
mysql:
container_name: drupal_admin_ui_mysql
image: "mysql:5.7"
volumes:
- db_data:/var/lib/mysql
restart: unless-stopped
command: --log-error-verbosity=1
environment:
MYSQL_ROOT_PASSWORD: drupal__
MYSQL_DATABASE: drupal
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal
drupal:
container_name: drupal_admin_ui_drupal
depends_on:
- "mysql"
environment:
- PHP_IDE_CONFIG=serverName=127.0.0.1
- DRUSH_OPTIONS_URI=http://127.0.0.1
- SIMPLETEST_BASE_URL=http://127.0.0.1
- SYMFONY_DEPRECATIONS_HELPER=disabled
build:
context: .
dockerfile: ./.docker/images/drupal/Dockerfile
args:
- HOST_UID=${HOST_UID}
- HOST_GID=${HOST_GID}
ports:
- 80:80
volumes:
- dot_composer:/var/www/.composer
- ./demo:/var/www/drupal:cached
- ./admin_ui_support:/var/www/admin_ui_support:cached
- ./packages/admin-ui:/var/www/admin-ui:cached
volumes:
db_data:
dot_composer: