forked from AsgardCms/Platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·62 lines (57 loc) · 1.07 KB
/
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
56
57
58
59
60
61
62
version: '2.1'
services:
app:
build:
context: ./docker/app
image: asgardcms/app:latest
ports:
- 80:80
- 443:443
volumes:
- .:/var/www/html:cached
networks:
- asgard_net
redis:
build:
context: ./docker/redis
image: asgardcms/redis:latest
volumes:
- redisdata:/data
networks:
- asgard_net
mysql:
build:
context: ./docker/mysql
image: asgardcms/mysql:latest
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: asgardcms
MYSQL_USER: homestead
MYSQL_PASSWORD: secret
volumes:
- mysqldata:/var/lib/mysql
networks:
- asgard_net
node:
build:
context: ./docker/node
image: asgardcms/node:latest
volumes:
- .:/var/www/html
blackfire:
image: blackfire/blackfire
environment:
BLACKFIRE_SERVER_ID:
BLACKFIRE_SERVER_TOKEN:
networks:
- asgard_net
volumes:
redisdata:
driver: local
mysqldata:
driver: local
networks:
asgard_net:
driver: bridge