-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.sample.yml
62 lines (62 loc) · 1.06 KB
/
docker-compose.sample.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
51
52
53
54
55
56
57
58
59
60
61
62
version: '2'
services:
db:
image: mysql:latest
environment:
- MYSQL_DATABASE=testdb
- MYSQL_USER=testuser
- MYSQL_PASSWORD=testpassword
- MYSQL_ROOT_PASSWORD=rootp4ssword
app:
image: debian:jessie
volumes:
- .:/app
web:
image: rolckers/web-apache-php
ports:
- "8000:80"
depends_on:
- db
links:
- db
volumes_from:
- app
composer:
image: rolckers/web-apache-php
entrypoint:
- composer
command: --help
volumes_from:
- app
artisan:
image: rolckers/web-apache-php
entrypoint:
- php
- artisan
command: --help
links:
- db
volumes_from:
- app
phpunit:
image: rolckers/web-apache-php
entrypoint:
- vendor/bin/phpunit
links:
- db
volumes_from:
- app
npm:
image: rolckers/web-nodejs:4.6
command: --help
entrypoint:
- npm
volumes_from:
- app
gulp:
image: rolckers/web-nodejs:4.6
command: --help
entrypoint:
- gulp
volumes_from:
- app