-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (40 loc) · 930 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (40 loc) · 930 Bytes
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
version: "2"
services:
aeris-redis:
image: redis:alpine
container_name: aeris-redis
aeris-postgres:
image: postgres
container_name: aeris-postgres
environment:
- POSTGRES_USER=db
- POSTGRES_PASSWORD=CHANGETHISSECRET
- POSTGRES_DB=app
aeris-nginx:
image: phpdockerio/nginx:latest
container_name: aeris-nginx
volumes:
- ./aeris:/var/www/app
- ./nginx/nginx.conf:/etc/nginx/conf.d/aeris.conf
ports:
- "80:80"
links:
- aeris-php-fpm
aeris-php-fpm:
image: antoligy/php7-fpm
container_name: aeris-php-fpm
volumes:
- ./aeris:/var/www/app
links:
- aeris-postgres
- aeris-redis
aeris-elk:
image: willdurand/elk
ports:
- "81:80"
volumes:
- ./elk/logstash:/etc/logstash
- ./elk/logstash/patterns:/opt/logstash/patterns
volumes_from:
- aeris-php-fpm
- aeris-nginx