-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
89 lines (68 loc) · 1.54 KB
/
docker-compose.yml
File metadata and controls
89 lines (68 loc) · 1.54 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '2'
services:
nginx:
image: nginx:latest
restart: always
ports:
- "8080:80"
volumes:
- ./public:/var/www/html/public
- ./app/static:/var/www/html/app/static/
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- ./logs/nginx:/var/log/nginx
links:
- phalcon
- mongo-express
- mongo
mongo:
build: ./db
restart: always
ports:
- "27017:27017"
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: 123456
MONGO_INITDB_DATABASE: incubator
volumes:
- ./dbbase:/data/db
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_AUTH_USERNAME: root
ME_CONFIG_MONGODB_AUTH_PASSWORD: 123456
links:
- mongo
phalcon:
build:
context: .
dockerfile: ./docker/php/Dockerfile
restart: always
ports:
- "9000:9000"
volumes:
- ./:/var/www/html/
- ./public:/var/www/html/public
- ./vendor:/var/www/html/vendor
- ./composer.json:/var/www/html/composer.json
redis:
image: redis:alpine
restart: always
ports:
- "6379:6379"
links:
- phalcon
aerospike:
image: aerospike
ports:
- "3000:3000"
beanstalk:
image: schickling/beanstalkd
ports:
- "11300:11300"
memcached:
image: memcached
ports:
- "11211:11211"