forked from phpsrbija/unfinished
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (50 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
50 lines (50 loc) · 1.02 KB
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
version: '2'
services:
web:
build: ./docker/nginx/
ports:
- 80:80
volumes_from:
- app
php:
#restart: always
build: ./docker/php7.0-fpm/
##build: .
#restart: always
#image: phpdockerio/php7-fpm
expose:
- 9000
volumes_from:
- app
app:
image: phpdockerio/php7-fpm
volumes:
- ./application:/var/www/unfinished
command: "true"
mysql:
# build: ./mysql/
image: mysql:latest
volumes_from:
- data
ports:
- 3307:3306
environment:
MYSQL_ROOT_PASSWORD: 12345
MYSQL_DATABASE: unfinished
MYSQL_USER: unfinished
MYSQL_PASSWORD: 12345
data:
image: mysql:latest
volumes:
- ./docker/mysql_data:/var/lib/mysql
command: "true"
memcached:
image: memcached:latest
expose:
- 11211
command: "memcached"
redis:
image: redis
expose:
- 6379
#command: "start"