-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml.bak
84 lines (83 loc) · 1.83 KB
/
docker-compose.yml.bak
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: "3"
services:
dev.mysql.srv:
image: mysql:5.7.22
container_name: dev-mysql
privileged: true
environment:
MYSQL_ROOT_PASSWORD: 123123
volumes:
- ./mysql/data:/var/lib/mysql
- ./mysql/conf:/etc/mysql/conf.d
ports:
- "3307:3306"
networks:
- default
dev.redis.srv:
image: dayu-redis:4.0.14
container_name: dev-redis
privileged: true
build: ./redis
environment:
- uid=UID
- gid=GID
volumes:
- ./redis/conf:/home/work/app/redis/conf
- ./redis/data:/home/work/app/redis/data
ports:
- "6379:6379"
networks:
- default
dev.redis-slave01.srv:
image: dayu-redis:4.0.14
container_name: dev-redis-slave01
privileged: true
environment:
- uid=UID
- gid=GID
volumes:
- ./redis-slave01/conf:/home/work/app/redis/conf
- ./redis-slave01/data:/home/work/app/redis/data
ports:
- "6380:6379"
networks:
- default
depends_on:
- dev.redis.srv
dev.nginx.srv:
image: dayu-nginx:1.14.0
container_name: dev-nginx
privileged: true
build: ./nginx
environment:
- uid=UID
- gid=GID
volumes:
- ./logs/nginx:/home/work/logs/nginx
- ../code/www:/home/work/www
ports:
- "80:8080"
- "443:443"
networks:
- default
depends_on:
- dev.php-fpm.srv
dev.php-fpm.srv:
image: dayu-php:7.2.6
container_name: dev-php7
privileged: true
build: ./php7
environment:
- uid=UID
- gid=GID
volumes:
- ./php7/etc:/home/work/app/php/etc
- ./php7/extensions:/home/work/app/php/lib/php/extensions/no-debug-non-zts-20170718
- ./logs/phpfpm:/home/work/logs
- ../code/www:/home/work/www
networks:
- default
networks:
default:
external:
name: dayuenv_default