-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
55 lines (48 loc) · 921 Bytes
/
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
50
51
52
53
54
55
version: "2"
services:
fpm:
build: "./fpm"
ports:
- "9000:9000"
links:
- postgres:postgres
- memcached:memcached
- redis:redis
- beanstalkd:beanstalkd
- mailcatcher:mailcatcher
volumes:
- $PWD/app:/var/www/app
nginx:
build: "./nginx"
ports:
- "80:80"
- "443:443"
links:
- fpm
volumes:
- $PWD/app:/var/www/app
- $PWD/nginx/sites-enabled:/etc/nginx/sites-enabled
postgres:
image: postgres
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: password
memcached:
image: memcached
ports:
- "11211:11211"
redis:
image: redis
ports:
- "6379:6379"
beanstalkd:
build: "./beanstalkd"
ports:
- "11300:11300"
mailcatcher:
build: "./mailcatcher"
ports:
- "1025:1025"
- "1080:1080"
command: mailcatcher -f --ip=0.0.0.0