-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
83 lines (78 loc) · 1.48 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
version: '3.3'
services:
# db:
# image: postgres
web:
build:
context: ./web
tty: true
ports:
- '3000:80'
app:
build:
context: ./app
dockerfile: Dockerfile.bak
volumes:
- .:/app
#command: bundle exec rails s -p 3000 -b '0.0.0.0'
tty: true
ports:
- '8000:8080'
# depends_on:
# - db
# redis-master:
# build:
# context: ./redis-master
# restart: always
# tty: true
# privileged: true
# volumes:
# - ./data/redis:/data
# redis-slave:
# build:
# context: ./redis-slave
# restart: always
# tty: true
# privileged: true
# volumes:
# - ./data/redis:/data
# redis-master-2:
# build:
# context: ./redis-master-2
# restart: always
# tty: true
# privileged: true
# volumes:
# - ./data/redis:/data
# redis-slave-2:
# build:
# context: ./redis-slave-2
# restart: always
# tty: true
# privileged: true
# volumes:
# - ./data/redis:/data
# redis-master-3:
# build:
# context: ./redis-master-3
# restart: always
# tty: true
# privileged: true
# volumes:
# - ./data/redis:/data
# redis-slave-3:
# build:
# context: ./redis-slave-3
# restart: always
# tty: true
# privileged: true
# volumes:
# - ./data/redis:/data
# sentinel設定
#redis-sentinel-1:
# build: ./redis-sentinel-1
# restart: always
# tty: true
# privileged: true
# volumes:
# - ./data/redis:/data