-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·72 lines (64 loc) · 1.45 KB
/
Copy pathdocker-compose.yml
File metadata and controls
executable file
·72 lines (64 loc) · 1.45 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
version: '3'
services:
nodejs:
container_name: nodejs
image: node:10.16.0
working_dir: /home/nodejs
command: npm run start
volumes:
- ./nodejs:/home/nodejs
depends_on:
- mysqldb
- redisdb
# ports:
# - 8080:8080
lumen:
container_name: lumen
image: westside072/laravel-php-7.2:latest
restart: always
working_dir: /home/lumen
command: ./start.sh
volumes:
- ./lumen:/home/lumen
depends_on:
- mysqldb
- redisdb
ports:
- 8080:8080
queue:
container_name: queue
image: westside072/laravel-php-7.2:latest
restart: always
working_dir: /home/lumen
command: php artisan queue:work
volumes:
- ./lumen:/home/lumen
depends_on:
- mysqldb
- redisdb
- lumen
mysqldb:
container_name: mysqldb
image: mysql:5.7
restart: always
environment:
- MYSQL_ROOT_PASSWORD=rootpassword
- MYSQL_DATABASE=test
- MYSQL_USER=test
- MYSQL_PASSWORD=test
volumes:
- ./mysql-data:/var/lib/mysql
adminer:
container_name: adminer
image: adminer:latest
restart: always
ports:
- 8005:8080
depends_on:
- mysqldb
redisdb:
container_name: redisdb
image: redis
restart: always
volumes:
- ./redis-data:/data