Merge pull request #18 from Ahson-Shaikh/updated-plane-and-fixed
Fixed Plane and Updated to newer version.
This commit is contained in:
+13
-1
@@ -1,5 +1,5 @@
|
|||||||
APP_DOMAIN=localhost
|
APP_DOMAIN=localhost
|
||||||
APP_RELEASE=stable
|
APP_RELEASE=v0.23.1
|
||||||
|
|
||||||
WEB_REPLICAS=1
|
WEB_REPLICAS=1
|
||||||
SPACE_REPLICAS=1
|
SPACE_REPLICAS=1
|
||||||
@@ -49,3 +49,15 @@ GUNICORN_WORKERS=1
|
|||||||
# UNCOMMENT `DOCKER_PLATFORM` IF YOU ARE ON `ARM64` AND DOCKER IMAGE IS NOT AVAILABLE FOR RESPECTIVE `APP_RELEASE`
|
# UNCOMMENT `DOCKER_PLATFORM` IF YOU ARE ON `ARM64` AND DOCKER IMAGE IS NOT AVAILABLE FOR RESPECTIVE `APP_RELEASE`
|
||||||
# DOCKER_PLATFORM=linux/amd64
|
# DOCKER_PLATFORM=linux/amd64
|
||||||
|
|
||||||
|
LIVE_BASE_URL="/live"
|
||||||
|
|
||||||
|
# RabbitMQ Settings
|
||||||
|
RABBITMQ_HOST="plane-mq"
|
||||||
|
RABBITMQ_PORT="5672"
|
||||||
|
RABBITMQ_USER="plane"
|
||||||
|
RABBITMQ_PASSWORD="plane"
|
||||||
|
RABBITMQ_VHOST="plane"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,15 +34,26 @@ x-app-env: &app-env
|
|||||||
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD:-"secret-key"}
|
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD:-"secret-key"}
|
||||||
- BUCKET_NAME=${BUCKET_NAME:-uploads}
|
- BUCKET_NAME=${BUCKET_NAME:-uploads}
|
||||||
- FILE_SIZE_LIMIT=${FILE_SIZE_LIMIT:-5242880}
|
- FILE_SIZE_LIMIT=${FILE_SIZE_LIMIT:-5242880}
|
||||||
# Admin and Space URLs
|
# Admin, Space and Live URLs
|
||||||
- ADMIN_BASE_URL=${ADMIN_BASE_URL}
|
- ADMIN_BASE_URL=${ADMIN_BASE_URL}
|
||||||
- SPACE_BASE_URL=${SPACE_BASE_URL}
|
- SPACE_BASE_URL=${SPACE_BASE_URL}
|
||||||
- APP_BASE_URL=${APP_BASE_URL}
|
- APP_BASE_URL=${APP_BASE_URL}
|
||||||
|
- LIVE_BASE_PATH=${LIVE_BASE_URL}
|
||||||
|
# RabbitMQ Settings for RabbitMQ Image
|
||||||
|
- RABBITMQ_DEFAULT_USER=${RABBITMQ_USER:-plane}
|
||||||
|
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_PASSWORD:-plane}
|
||||||
|
- RABBITMQ_DEFAULT_VHOST=${RABBITMQ_VHOST:-plane}
|
||||||
|
# RabbitMQ Settings for Services
|
||||||
|
- RABBITMQ_HOST=${RABBITMQ_HOST:-plane-mq}
|
||||||
|
- RABBITMQ_PORT=${RABBITMQ_PORT:-5672}
|
||||||
|
- RABBITMQ_USER=${RABBITMQ_USER:-plane}
|
||||||
|
- RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD}
|
||||||
|
- RABBITMQ_VHOST=${RABBITMQ_VHOST:-plane}
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
<<: *app-env
|
<<: *app-env
|
||||||
image: ${DOCKERHUB_USER:-makeplane}/plane-frontend:${APP_RELEASE:-stable}
|
image: ${DOCKERHUB_USER:-makeplane}/plane-frontend:${APP_RELEASE:-v0.23.1}
|
||||||
platform: ${DOCKER_PLATFORM:-}
|
platform: ${DOCKER_PLATFORM:-}
|
||||||
pull_policy: if_not_present
|
pull_policy: if_not_present
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -55,7 +66,7 @@ services:
|
|||||||
|
|
||||||
space:
|
space:
|
||||||
<<: *app-env
|
<<: *app-env
|
||||||
image: ${DOCKERHUB_USER:-makeplane}/plane-space:${APP_RELEASE:-stable}
|
image: ${DOCKERHUB_USER:-makeplane}/plane-space:${APP_RELEASE:-v0.23.1}
|
||||||
platform: ${DOCKER_PLATFORM:-}
|
platform: ${DOCKER_PLATFORM:-}
|
||||||
pull_policy: if_not_present
|
pull_policy: if_not_present
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -69,7 +80,7 @@ services:
|
|||||||
|
|
||||||
admin:
|
admin:
|
||||||
<<: *app-env
|
<<: *app-env
|
||||||
image: ${DOCKERHUB_USER:-makeplane}/plane-admin:${APP_RELEASE:-stable}
|
image: ${DOCKERHUB_USER:-makeplane}/plane-admin:${APP_RELEASE:-v0.23.1}
|
||||||
platform: ${DOCKER_PLATFORM:-}
|
platform: ${DOCKER_PLATFORM:-}
|
||||||
pull_policy: if_not_present
|
pull_policy: if_not_present
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -82,7 +93,7 @@ services:
|
|||||||
|
|
||||||
api:
|
api:
|
||||||
<<: *app-env
|
<<: *app-env
|
||||||
image: ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-stable}
|
image: ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-v0.23.1}
|
||||||
platform: ${DOCKER_PLATFORM:-}
|
platform: ${DOCKER_PLATFORM:-}
|
||||||
pull_policy: if_not_present
|
pull_policy: if_not_present
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -97,7 +108,7 @@ services:
|
|||||||
|
|
||||||
worker:
|
worker:
|
||||||
<<: *app-env
|
<<: *app-env
|
||||||
image: ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-stable}
|
image: ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-v0.23.1}
|
||||||
platform: ${DOCKER_PLATFORM:-}
|
platform: ${DOCKER_PLATFORM:-}
|
||||||
pull_policy: if_not_present
|
pull_policy: if_not_present
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -111,7 +122,7 @@ services:
|
|||||||
|
|
||||||
beat-worker:
|
beat-worker:
|
||||||
<<: *app-env
|
<<: *app-env
|
||||||
image: ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-stable}
|
image: ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-v0.23.1}
|
||||||
platform: ${DOCKER_PLATFORM:-}
|
platform: ${DOCKER_PLATFORM:-}
|
||||||
pull_policy: if_not_present
|
pull_policy: if_not_present
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -125,7 +136,7 @@ services:
|
|||||||
|
|
||||||
migrator:
|
migrator:
|
||||||
<<: *app-env
|
<<: *app-env
|
||||||
image: ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-stable}
|
image: ${DOCKERHUB_USER:-makeplane}/plane-backend:${APP_RELEASE:-v0.23.1}
|
||||||
platform: ${DOCKER_PLATFORM:-}
|
platform: ${DOCKER_PLATFORM:-}
|
||||||
pull_policy: if_not_present
|
pull_policy: if_not_present
|
||||||
restart: "no"
|
restart: "no"
|
||||||
@@ -153,6 +164,19 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- redisdata:/data
|
- redisdata:/data
|
||||||
|
|
||||||
|
plane-mq:
|
||||||
|
<<: *app-env
|
||||||
|
image: rabbitmq:3.13.6-management-alpine
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- rabbitmq_data:/var/lib/rabbitmq
|
||||||
|
|
||||||
|
live:
|
||||||
|
<<: *app-env
|
||||||
|
image: ${DOCKERHUB_USER:-makeplane}/plane-live:${APP_RELEASE:-v0.23.1}
|
||||||
|
restart: always
|
||||||
|
command: node live/dist/server.js
|
||||||
|
|
||||||
plane-minio:
|
plane-minio:
|
||||||
<<: *app-env
|
<<: *app-env
|
||||||
image: minio/minio:latest
|
image: minio/minio:latest
|
||||||
@@ -165,7 +189,7 @@ services:
|
|||||||
# Comment this if you already have a reverse proxy running
|
# Comment this if you already have a reverse proxy running
|
||||||
proxy:
|
proxy:
|
||||||
<<: *app-env
|
<<: *app-env
|
||||||
image: ${DOCKERHUB_USER:-makeplane}/plane-proxy:${APP_RELEASE:-stable}
|
image: ${DOCKERHUB_USER:-makeplane}/plane-proxy:${APP_RELEASE:-v0.23.1}
|
||||||
platform: ${DOCKER_PLATFORM:-}
|
platform: ${DOCKER_PLATFORM:-}
|
||||||
pull_policy: if_not_present
|
pull_policy: if_not_present
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -173,6 +197,7 @@ services:
|
|||||||
- web
|
- web
|
||||||
- api
|
- api
|
||||||
- space
|
- space
|
||||||
|
- admin
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
@@ -182,3 +207,4 @@ volumes:
|
|||||||
logs_worker:
|
logs_worker:
|
||||||
logs_beat-worker:
|
logs_beat-worker:
|
||||||
logs_migrator:
|
logs_migrator:
|
||||||
|
rabbitmq_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user