-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
58 lines (58 loc) · 1.64 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
version: '2'
services:
drupal-videos-mysql:
container_name: drupal-videos-mysql
image: mysql:5.6
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: drupal
MYSQL_USER: mysql
MYSQL_PASSWORD: mysql
volumes:
- ../sites-databases/drupal-videos:/var/lib/mysql
networks:
- dockercompose
command: mysqld --max_allowed_packet=64M
restart: always
drupal-videos:
container_name: drupal-videos
image: codekoalas/drupal8:permissionsFix
environment:
VIRTUAL_HOST: .drupal-videos.localhost
#GIT_HOSTS: "IP url" it was hard coded to our internal gitlab removed for safety
GIT_REPO: https://github.com/fabean/drupal-videos.git
GIT_BRANCH: 8.x
MYSQL_SERVER: mysql
MYSQL_DATABASE: drupal
MYSQL_USER: mysql
MYSQL_PASSWORD: mysql
DRUPAL_BASE_URL: http://drupal-videos.localhost
DRUPAL_TRUSTED_HOSTS: drupal-videos\.localhost$$
DRUPAL_HTTPS: "off"
APACHE_DOCROOT: /var/www/site/docroot
PRODUCTION: "false"
#SESMailHub: mail-relay.ckdev.io
#LOCAL: "true"
volumes:
- ../sites-files/drupal-videos:/mnt/site-files
- ./:/var/www/site
#- drupal-videos-files-sync:/mnt/sites-files
#- drupal-videos-sync:/var/www/site
networks:
- dockercompose
links:
- drupal-videos-mysql:mysql
# extra_hosts:
#- "xdebug:192.168.237.237"
restart: always
networks:
dockercompose:
external:
name: dockercompose_dockercompose
#volumes:
# drupal-videos-sync:
# external: true
# drupal-videos-files-sync:
# external: true
# drupal-videos-mysql-sync:
# external: true