forked from ProfessorFrancken/ProfessorFrancken
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
69 lines (61 loc) · 1.23 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
59
60
61
62
63
64
65
66
67
68
69
version: '2'
services:
php:
image: francken/php
links:
- mysql
volumes:
- ./:/var/www/francken
# volumes_from:
# - data
# data:
# image: busybox
# volumes:
# - /var/www/francken/storage
nginx:
image: francken/nginx
ports:
- 80:80
- 443:443
links:
- php
volumes_from:
- php
restart: always
mysql:
image: francken/mysql
environment:
- MYSQL_USER=francken
- MYSQL_PASSWORD=leden
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=francken
restart: always
composer:
image: composer/composer:alpine
volumes_from:
- php
working_dir: /var/www/francken
npm:
image: node:7.4
volumes_from:
- php
working_dir: /var/www/francken
yarn:
image: kkarczmarczyk/node-yarn
volumes_from:
- php
working_dir: /var/www/francken
command: yarn
fly-images:
image: flyimg/flyimg-build
restart: always
# This service is mostly identical to the php service except that it also
# intalls xdebug so we can check for coverage
test_coverage:
image: francken/php:with-xdebug
volumes_from:
- php
links:
- mysql
environment:
DB_CONNECTION: testing