-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yaml
201 lines (186 loc) · 4.45 KB
/
docker-compose.yaml
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
version: '3.8'
services:
web:
image: ruanbekker/plane-web:v0.23.1
container_name: web
restart: unless-stopped
command: node web/server.js web
depends_on:
api:
condition: service_started
networks:
- public
admin:
image: ruanbekker/plane-admin:v0.23.1
container_name: admin
restart: unless-stopped
command: node admin/server.js admin
depends_on:
api:
condition: service_started
web:
condition: service_started
networks:
- public
space:
image: ruanbekker/plane-space:v0.23.1
container_name: space
restart: unless-stopped
command: node space/server.js space
depends_on:
api:
condition: service_started
web:
condition: service_started
networks:
- public
api:
image: ruanbekker/plane-api:v0.23.1
container_name: api
restart: unless-stopped
command: ./bin/docker-entrypoint-api.sh
env_file:
- ./env/apiserver.env
depends_on:
plane-db:
condition: service_started
plane-redis:
condition: service_started
networks:
- public
worker:
image: ruanbekker/plane-worker:v0.23.1
container_name: bgworker
restart: unless-stopped
command: ./bin/docker-entrypoint-worker.sh
env_file:
- ./env/apiserver.env
depends_on:
api:
condition: service_started
plane-db:
condition: service_started
plane-redis:
condition: service_started
networks:
- public
beat-worker:
image: ruanbekker/plane-beat-worker:v0.23.1
container_name: beatworker
restart: unless-stopped
command: ./bin/docker-entrypoint-beat.sh
env_file:
- ./env/apiserver.env
depends_on:
api:
condition: service_started
plane-db:
condition: service_started
plane-redis:
condition: service_started
networks:
- public
migrator:
image: ruanbekker/plane-migrator:v0.23.1
container_name: plane-migrator
restart: "no"
command: ./bin/docker-entrypoint-migrator.sh
env_file:
- ./env/apiserver.env
depends_on:
plane-db:
condition: service_started
plane-redis:
condition: service_started
networks:
- public
live:
image: ruanbekker/plane-live:v0.23.1
container_name: plane-live
restart: unless-stopped
command: node live/dist/server.js
networks:
- public
plane-db:
image: postgres:15.7-alpine
container_name: plane-db
restart: unless-stopped
command: postgres -c 'max_connections=1000'
volumes:
- pgdata:/var/lib/postgresql/data
env_file:
- ./env/main.env
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PGDATA: /var/lib/postgresql/data
networks:
- public
plane-redis:
image: valkey/valkey:7.2.5-alpine
container_name: plane-redis
restart: unless-stopped
volumes:
- redisdata:/data
networks:
- public
plane-mq:
image: rabbitmq:3.13.6-management-alpine
container_name: plane-mq
restart: unless-stopped
env_file:
- ./env/main.env
environment:
RABBITMQ_DEFAULT_USER: ${RABBITMQ_USER}
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_PASSWORD}
RABBITMQ_DEFAULT_VHOST: ${RABBITMQ_VHOST}
volumes:
- rabbitmq_data:/var/lib/rabbitmq
networks:
- public
plane-minio:
image: minio/minio
container_name: plane-minio
restart: unless-stopped
command: server /export --console-address ":9090"
volumes:
- uploads:/export
environment:
MINIO_ROOT_USER: ${AWS_ACCESS_KEY_ID}
MINIO_ROOT_PASSWORD: ${AWS_SECRET_ACCESS_KEY}
networks:
- public
# Comment this if you already have a reverse proxy running
proxy:
image: ruanbekker/plane-proxy:v0.23.1
container_name: proxy
restart: unless-stopped
ports:
- ${NGINX_PORT}:80
environment:
FILE_SIZE_LIMIT: ${FILE_SIZE_LIMIT:-5242880}
BUCKET_NAME: ${AWS_S3_BUCKET_NAME:-uploads}
depends_on:
web:
condition: service_started
api:
condition: service_started
space:
condition: service_started
admin:
condition: service_started
networks:
- public
volumes:
pgdata:
driver: local
redisdata:
driver: local
uploads:
driver: local
rabbitmq_data:
driver: local
networks:
public:
name: public