Merge pull request #3788 from djsisson/fix-plane-template

Fix plane template
This commit is contained in:
🏔️ Peak
2024-10-10 17:53:20 +02:00
committed by GitHub

View File

@@ -23,6 +23,15 @@ x-app-env: &app-env
- REDIS_HOST=plane-redis - REDIS_HOST=plane-redis
- REDIS_PORT=6379 - REDIS_PORT=6379
- REDIS_URL=${REDIS_URL:-redis://plane-redis:6379/} - REDIS_URL=${REDIS_URL:-redis://plane-redis:6379/}
# RabbitMQ Settings
- RABBITMQ_HOST=plane-mq
- RABBITMQ_PORT=${RABBITMQ_PORT:-5672}
- RABBITMQ_DEFAULT_USER=${SERVICE_USER_RABBITMQ:-plane}
- RABBITMQ_DEFAULT_PASS=${SERVICE_PASSWORD_RABBITMQ:-plane}
- RABBITMQ_DEFAULT_VHOST=${RABBITMQ_VHOST:-plane}
- RABBITMQ_VHOST=${RABBITMQ_VHOST:-plane}
- 'AMQP_URL=amqp://${SERVICE_USER_RABBITMQ}:${SERVICE_PASSWORD_RABBITMQ}@plane-mq:${RABBITMQ_PORT}/plane'
# Application secret # Application secret
- SECRET_KEY=$SERVICE_PASSWORD_64_SECRETKEY - SECRET_KEY=$SERVICE_PASSWORD_64_SECRETKEY
# DATA STORE SETTINGS # DATA STORE SETTINGS
@@ -36,10 +45,8 @@ x-app-env: &app-env
- MINIO_ROOT_PASSWORD=$SERVICE_PASSWORD_MINIO - MINIO_ROOT_PASSWORD=$SERVICE_PASSWORD_MINIO
- 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 # Live server env
- ADMIN_BASE_URL=${ADMIN_BASE_URL} - API_BASE_URL=${API_BASE_URL:-http://api:8000}
- SPACE_BASE_URL=${SPACE_BASE_URL}
- APP_BASE_URL=${SERVICE_FQDN_PLANE}
services: services:
proxy: proxy:
@@ -97,6 +104,19 @@ services:
timeout: 10s timeout: 10s
retries: 15 retries: 15
live:
<<: *app-env
image: makeplane/plane-live:stable
command: node live/dist/server.js live
depends_on:
- api
- web
healthcheck:
test: ["CMD", "echo", "hey whats up"]
interval: 2s
timeout: 10s
retries: 15
api: api:
<<: *app-env <<: *app-env
image: makeplane/plane-backend:stable image: makeplane/plane-backend:stable
@@ -157,7 +177,7 @@ services:
plane-db: plane-db:
<<: *app-env <<: *app-env
image: postgres:15.5-alpine image: postgres:15.7-alpine
command: postgres -c 'max_connections=1000' command: postgres -c 'max_connections=1000'
volumes: volumes:
- pgdata:/var/lib/postgresql/data - pgdata:/var/lib/postgresql/data
@@ -178,6 +198,18 @@ services:
timeout: 20s timeout: 20s
retries: 10 retries: 10
plane-mq:
<<: *app-env
image: rabbitmq:3.13.6-management-alpine
restart: always
volumes:
- rabbitmq_data:/var/lib/rabbitmq
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 30s
timeout: 30s
retries: 3
plane-minio: plane-minio:
<<: *app-env <<: *app-env
image: minio/minio:latest image: minio/minio:latest