We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf296ee commit 3d22bc4Copy full SHA for 3d22bc4
.drone.yml
@@ -18,3 +18,8 @@ pipeline:
18
image: fpfis/php71-build
19
commands:
20
- php index.php
21
+
22
+ test-docker-compose
23
+ image: docker pull docker/compose
24
+ commands:
25
+ - docker-compose up
docker-compose.yaml
@@ -0,0 +1,23 @@
1
+version: '2'
2
+services:
3
4
+ # Define a PHP webserver
5
+ php-webserver:
6
+ # Use a PHP image with apache
7
+ image: fpfis/php56-dev
8
+ # Define settings
9
+ environment:
10
+ - XDEBUG=true
11
+ - DOCUMENT_ROOT=/app/build
12
+ # Mount a local volume in the container
13
+ volumes:
14
+ - ./:/app/build
15
+ # Share the container port with the host
16
+ ports:
17
+ - 8080:8080
+ # Define a mysql service
+ mysql:
+ image: fpfis/mysql56
0 commit comments