-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
98 lines (89 loc) · 1.76 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
version: '3'
services:
nginx:
image: library/nginx
restart: 'on-failure'
volumes:
- ./.docker/nginx:/etc/nginx/conf.d
- ./:/repo
networks:
- default
- readis
labels:
- "traefik.enable=true"
- "traefik.http.routers.readis.rule=HostRegexp(`{subdomain:readis-php[0-9]+}.hollo.me`)"
- "traefik.http.routers.readis.tls=true"
depends_on:
- php71
- php72
- php73
- php74
- php80
php71:
image: ghcr.io/hollodotme/readis-php-71
restart: 'on-failure'
volumes:
- ./:/repo
working_dir: /repo
networks:
- readis
depends_on:
- redis
php72:
image: ghcr.io/hollodotme/readis-php-72
restart: 'on-failure'
volumes:
- ./:/repo
working_dir: /repo
networks:
- readis
depends_on:
- redis
php73:
image: ghcr.io/hollodotme/readis-php-73
restart: 'on-failure'
volumes:
- ./:/repo
working_dir: /repo
networks:
- readis
depends_on:
- redis
php74:
image: ghcr.io/hollodotme/readis-php-74
restart: 'on-failure'
volumes:
- ./:/repo
working_dir: /repo
networks:
- readis
depends_on:
- redis
php80:
image: ghcr.io/hollodotme/readis-php-80
restart: 'on-failure'
volumes:
- ./:/repo
working_dir: /repo
networks:
- readis
depends_on:
- redis
redis:
image: redis
ports:
- 6379:6379
volumes:
- redis:/data
- .docker/redis/DemoData.txt:/tmp/DemoData.txt
- .docker/redis/redis.default.conf:/usr/local/etc/redis/redis.conf
command: /usr/local/etc/redis/redis.conf
networks:
- readis
networks:
default:
external:
name: "gateway"
readis:
volumes:
redis: