-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (47 loc) · 1.05 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
43
44
45
46
47
48
49
50
version: '2'
services:
proxy:
image: quay.io/continuouspipe/nginx-reverse-proxy:stable
links:
- varnish
environment:
PROXY_LOCATIONS: '[{"location": "/", "backend": "http://varnish", "preserve_host": true}]'
WEB_HTTPS_ONLY: true
expose:
- 80
- 443
varnish:
image: quay.io/continuouspipe/drupal8-varnish4:stable
links:
- web
expose:
- 80
web:
build:
context: .
args:
- GITHUB_TOKEN
volumes:
- .:/app
links:
- database
environment:
- DRUPAL_HASH_SALT=sosecret
- DATABASE_NAME=drupaldb
- DATABASE_USER=drupal
- DATABASE_PASSWORD=drupal
- DRUPAL_ADMIN_USERNAME=drupaluser
- DRUPAL_ADMIN_PASSWORD=drupalpass
- WEB_HTTPS_OFFLOADED="true"
- WEB_HTTPS="false"
expose:
- 80
database:
image: quay.io/continuouspipe/mysql5.6:stable
environment:
MYSQL_ROOT_PASSWORD: drupal
MYSQL_DATABASE: drupaldb
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal
expose:
- 3306