@@ -7,23 +7,21 @@ x-app-env: &app-env
7
7
environment :
8
8
- WEB_URL=http://localhost
9
9
- DEBUG=${DEBUG:-0}
10
- - SENTRY_DSN=${SENTRY_DSN}
11
- - SENTRY_ENVIRONMENT=${SENTRY_ENVIRONMENT:-"production"}
12
10
- CORS_ALLOWED_ORIGINS=http://localhost
13
11
# Gunicorn Workers
14
12
- GUNICORN_WORKERS=${GUNICORN_WORKERS:-1}
15
13
# DB SETTINGS
16
- - PGHOST=${PGHOST:- plane-db}
17
- - PGDATABASE=${PGDATABASE:- plane}
14
+ - PGHOST=plane-db
15
+ - PGDATABASE=plane
18
16
- POSTGRES_USER=$SERVICE_USER_POSTGRES
19
17
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
20
- - POSTGRES_DB=${POSTGRES_DB:- plane}
21
- - POSTGRES_PORT=${POSTGRES_PORT:- 5432}
22
- - PGDATA=${PGDATA:- /var/lib/postgresql/data}
18
+ - POSTGRES_DB=plane
19
+ - POSTGRES_PORT=5432
20
+ - PGDATA=/var/lib/postgresql/data
23
21
- DATABASE_URL=postgresql://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@plane-db/plane
24
22
# REDIS SETTINGS
25
- - REDIS_HOST=${REDIS_HOST:- plane-redis}
26
- - REDIS_PORT=${REDIS_PORT:- 6379}
23
+ - REDIS_HOST=plane-redis
24
+ - REDIS_PORT=6379
27
25
- REDIS_URL=${REDIS_URL:-redis://plane-redis:6379/}
28
26
# Application secret
29
27
- SECRET_KEY=$SERVICE_PASSWORD_64_SECRETKEY
@@ -43,19 +41,12 @@ x-app-env: &app-env
43
41
- SPACE_BASE_URL=${SPACE_BASE_URL}
44
42
- APP_BASE_URL=${APP_BASE_URL}
45
43
46
-
47
-
48
44
services :
49
45
proxy :
50
46
environment :
51
- - SERVICE_FQDN_PLANE
52
- - NGINX_PORT=${NGINX_PORT:-9743}
53
- - FILE_SIZE_LIMIT=${FILE_SIZE_LIMIT:-5242880}
54
- image : ${DOCKERHUB_USER:-makeplane}/plane-proxy:${APP_RELEASE:-stable}
55
- platform : ${DOCKER_PLATFORM:-}
56
- pull_policy : ${PULL_POLICY:-always}
57
- ports :
58
- - ${NGINX_PORT}:80
47
+ - SERVICE_FQDN_PLANE
48
+ - FILE_SIZE_LIMIT=${FILE_SIZE_LIMIT:-5242880}
49
+ image : makeplane/plane-proxy:stable
59
50
depends_on :
60
51
- web
61
52
- api
@@ -68,91 +59,93 @@ services:
68
59
69
60
web :
70
61
<< : *app-env
71
- image : ${DOCKERHUB_USER:-makeplane}/plane-frontend:${APP_RELEASE:-stable}
72
- platform : ${DOCKER_PLATFORM:-}
73
- pull_policy : ${PULL_POLICY:-always}
74
- restart : unless-stopped
62
+ image : makeplane/plane-frontend:stable
75
63
command : node web/server.js web
76
- deploy :
77
- replicas : ${WEB_REPLICAS:-1}
78
64
depends_on :
79
65
- api
80
66
- worker
67
+ healthcheck :
68
+ test : " wget -qO- http://`hostname`:3000"
69
+ interval : 2s
70
+ timeout : 10s
71
+ retries : 15
81
72
space :
82
73
<< : *app-env
83
- image : ${DOCKERHUB_USER:-makeplane}/plane-space:${APP_RELEASE:-stable}
84
- platform : ${DOCKER_PLATFORM:-}
85
- pull_policy : ${PULL_POLICY:-always}
86
- restart : unless-stopped
74
+ image : makeplane/plane-space:stable
87
75
command : node space/server.js space
88
- deploy :
89
- replicas : ${SPACE_REPLICAS:-1}
90
76
depends_on :
91
77
- api
92
78
- worker
93
79
- web
80
+ healthcheck :
81
+ test : ["CMD", "echo", "hey whats up"]
82
+ interval : 2s
83
+ timeout : 10s
84
+ retries : 15
94
85
95
86
admin :
96
87
<< : *app-env
97
- image : ${DOCKERHUB_USER:-makeplane}/plane-admin:${APP_RELEASE:-stable}
98
- platform : ${DOCKER_PLATFORM:-}
99
- pull_policy : ${PULL_POLICY:-always}
100
- restart : unless-stopped
88
+ image : makeplane/plane-admin:stable
101
89
command : node admin/server.js admin
102
- deploy :
103
- replicas : ${ADMIN_REPLICAS:-1}
104
90
depends_on :
105
91
- api
106
92
- web
93
+ healthcheck :
94
+ test : ["CMD", "echo", "hey whats up"]
95
+ interval : 2s
96
+ timeout : 10s
97
+ retries : 15
107
98
108
99
api :
109
100
<< : *app-env
110
- image : ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-stable}
111
- platform : ${DOCKER_PLATFORM:-}
112
- pull_policy : ${PULL_POLICY:-always}
113
- restart : unless-stopped
101
+ image : makeplane/plane-backend:stable
114
102
command : ./bin/docker-entrypoint-api.sh
115
- deploy :
116
- replicas : ${API_REPLICAS:-1}
117
103
volumes :
118
104
- logs_api:/code/plane/logs
119
105
depends_on :
120
106
- plane-db
121
107
- plane-redis
122
-
108
+ healthcheck :
109
+ test : ["CMD", "echo", "hey whats up"]
110
+ interval : 2s
111
+ timeout : 10s
112
+ retries : 15
113
+
123
114
worker :
124
115
<< : *app-env
125
- image : ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-stable}
126
- platform : ${DOCKER_PLATFORM:-}
127
- pull_policy : ${PULL_POLICY:-always}
128
- restart : unless-stopped
116
+ image : makeplane/plane-backend:stable
129
117
command : ./bin/docker-entrypoint-worker.sh
130
118
volumes :
131
119
- logs_worker:/code/plane/logs
132
120
depends_on :
133
121
- api
134
122
- plane-db
135
123
- plane-redis
124
+ healthcheck :
125
+ test : ["CMD", "echo", "hey whats up"]
126
+ interval : 2s
127
+ timeout : 10s
128
+ retries : 15
136
129
137
130
beat-worker :
138
131
<< : *app-env
139
- image : ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-stable}
140
- platform : ${DOCKER_PLATFORM:-}
141
- pull_policy : ${PULL_POLICY:-always}
142
- restart : unless-stopped
132
+ image : makeplane/plane-backend:stable
143
133
command : ./bin/docker-entrypoint-beat.sh
144
134
volumes :
145
135
- logs_beat-worker:/code/plane/logs
146
136
depends_on :
147
137
- api
148
138
- plane-db
149
139
- plane-redis
140
+ healthcheck :
141
+ test : ["CMD", "echo", "hey whats up"]
142
+ interval : 2s
143
+ timeout : 10s
144
+ retries : 15
150
145
151
146
migrator :
152
147
<< : *app-env
153
- image : ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-stable}
154
- platform : ${DOCKER_PLATFORM:-}
155
- pull_policy : ${PULL_POLICY:-always}
148
+ image : makeplane/plane-backend:stable
156
149
restart : " no"
157
150
command : ./bin/docker-entrypoint-migrator.sh
158
151
volumes :
@@ -164,8 +157,6 @@ services:
164
157
plane-db :
165
158
<< : *app-env
166
159
image : postgres:15.5-alpine
167
- pull_policy : if_not_present
168
- restart : unless-stopped
169
160
command : postgres -c 'max_connections=1000'
170
161
volumes :
171
162
- pgdata:/var/lib/postgresql/data
@@ -178,8 +169,6 @@ services:
178
169
plane-redis :
179
170
<< : *app-env
180
171
image : valkey/valkey:7.2.5-alpine
181
- pull_policy : if_not_present
182
- restart : unless-stopped
183
172
volumes :
184
173
- redisdata:/data
185
174
healthcheck :
@@ -188,27 +177,14 @@ services:
188
177
timeout : 20s
189
178
retries : 10
190
179
191
-
192
180
plane-minio :
193
181
<< : *app-env
194
182
image : minio/minio:latest
195
- pull_policy : if_not_present
196
- restart : unless-stopped
197
183
command : server /export --console-address ":9090"
198
184
volumes :
199
185
- uploads:/export
200
186
healthcheck :
201
- test : ["CMD", "curl ", "-f ", "http://127.0.0.1:9000/minio/health/live "]
187
+ test : ["CMD", "mc ", "ready ", "local "]
202
188
interval : 5s
203
189
timeout : 20s
204
190
retries : 10
205
-
206
-
207
- volumes :
208
- pgdata :
209
- redisdata :
210
- uploads :
211
- logs_api :
212
- logs_worker :
213
- logs_beat-worker :
214
- logs_migrator :
0 commit comments