-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (49 loc) · 1.21 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
version: '2'
services:
sqlite3:
image: nouchka/sqlite3:latest
stdin_open: true
tty: true
volumes:
- ./db/:/root/db/
php:
build: ./php-fpm
ports:
- "9000:9000"
volumes:
- ./mediamonks-demo:/var/www/mediamonks-demo:cached
- ./logs/mediamonks-demo:/var/www/mediamonks-demo/var/logs:cached
working_dir: /var/www/mediamonks-demo
links:
- sqlite3
nginx:
build: ./nginx
ports:
- "80:80"
links:
- php
volumes_from:
- php
volumes:
- ./logs/nginx/:/var/log/nginx:cached
nodejs:
image: node:alpine
user: "node"
tty: true
links:
- php
volumes:
- ./mediamonks-demo:/var/www/mediamonks-demo
volumes_from:
- php
working_dir: /var/www/mediamonks-demo
elk:
image: willdurand/elk
ports:
- "81:80"
volumes:
- ./elk/logstash:/etc/logstash:cached
- ./elk/logstash/patterns:/opt/logstash/patterns:cached
volumes_from:
- php
- nginx