forked from rolrov/hackathon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (40 loc) · 1001 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
app:
build: ./hackathon-app
volumes:
- /Users/pavlik/Projects/photo-contest/log/nginx:/var/log/nginx
- /Users/pavlik/Projects/photo-contest/log/php-fpm:/var/log/php5-fpm
- /Users/pavlik/Projects/hackathon-photo-contest:/var/www/project
environment:
TOPFACE_USER: pavlik
PLATFORM: dev
ports:
- "80:80"
- "443:443"
links:
- redis:hackathon_redis_1
- redisUser:hackathon_redisUser_1
- redisEvent:hackathon_redisEvent_1
- redisStatistics:hackathon_redisStatisitcs_1
- redisOther:hackathon_redisOther_1
- mc:hackathon_mc_1
- mysql:hackathon_mysql_1
redis:
image: redis:2.8
redisUser:
image: redis:2.8
redisEvent:
image: redis:2.8
redisStatistics:
image: redis:2.8
redisOther:
image: redis:2.8
mysql:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: mysqlsecretrootpassord
MYSQL_USER: hackathon
MYSQL_PASSWORD: hackathonpassword
MYSQL_DATABASE: hackathon
mc:
image: memcached:latest
command: memcached -m 512