generated from backdrop-contrib/theme_template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yml
40 lines (38 loc) · 895 Bytes
/
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
services:
db:
image: mariadb:11
environment:
- MYSQL_ROOT_PASSWORD=root
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 10s
php:
build:
dockerfile: ./containerfile
context: ./
links:
- db
depends_on:
db:
condition: service_healthy
ports:
- 8888:80
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 10s
volumes:
- ./:/workspace
- ./.ops/settings.local.php:/var/www/html/settings.local.php
backstop:
image: backstopjs/backstopjs
command: --config=/config.js remote
links:
- php:app
depends_on:
php:
condition: service_healthy
volumes:
- .ops/output/vrt:/output
- .ops/backstop.js:/config.js
- .ops/vrt-scripts:/scripts
- .ops/urls.txt:/urls.txt