Files
umbrel-apps/plane/docker-compose.yml
Nathan Fretz b5f09244e8 Update nginx sidecar to 1.30.7-alpine in 8 apps
Security update for the nginx web server sidecar in agora, mosquitto,
netbird, rustdesk-server, public-pool, openreader, plane and wger.
Package-only patch bumps; no upstream app changes.
2026-11-19 13:29:01 +10:00

226 lines
6.2 KiB
YAML

version: "3.7"
x-environment: &env
# ---- External URL & ports ----
NGINX_PORT: 8762
LISTEN_HTTP_PORT: 8762
# ---- Bucket name used by frontend for /uploads paths ----
BUCKET_NAME: uploads
# ---- API Workers ----
GUNICORN_WORKERS: 2
# ---- Database ----
POSTGRES_DB: plane
POSTGRES_USER: plane
POSTGRES_PASSWORD: umbrelplane
DATABASE_URL: postgresql://plane:umbrelplane@plane_db_1:5432/plane
# ---- Cache / broker ----
REDIS_URL: redis://plane_redis_1:6379/0
RABBITMQ_DEFAULT_USER: plane
RABBITMQ_DEFAULT_PASS: umbrelplane
RABBITMQ_DEFAULT_VHOST: plane
CELERY_BROKER_URL: amqp://plane:umbrelplane@plane_rabbitmq_1:5672/plane
# ---- Object storage (MinIO; S3-compatible) ----
USE_MINIO: 1
AWS_ACCESS_KEY_ID: umbrel
AWS_SECRET_ACCESS_KEY: $APP_PASSWORD
AWS_S3_ENDPOINT_URL: http://plane-minio-1:9000
AWS_S3_BUCKET_NAME: uploads
FILE_SIZE_LIMIT: 52428800 # 50 MB
MINIO_ENDPOINT_SSL: 0
MINIO_ROOT_USER: umbrel
MINIO_ROOT_PASSWORD: $APP_PASSWORD
# ---- Django / app ----
SECRET_KEY: $APP_SEED
LIVE_SERVER_SECRET_KEY: $APP_SEED
# optional but often helps behind proxies
USE_X_FORWARDED_HOST: 1
SECURE_SSL_REDIRECT: 0
SESSION_COOKIE_SECURE: 0
CSRF_COOKIE_SECURE: 0
WEBHOOK_ALLOWED_IPS: ""
WEBHOOK_ALLOWED_HOSTS: ""
services:
app_proxy:
environment:
APP_HOST: plane_nginx_1
APP_PORT: 8762
PROXY_AUTH_ADD: "false"
nginx:
image: nginx:1.30.7-alpine@sha256:bef154735288bc38d99fac41ae63730684bcc661503673a04a0f9bc526ba8598
restart: on-failure
volumes:
- ${APP_DATA_DIR}/config/nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- web
db:
image: postgres:17.9-alpine@sha256:778d0b486d6daa02b77434d0358ec57a1b21fd8b6d22ac2eef56a33e816928f6
user: "1000:1000"
restart: on-failure
environment:
<<: *env
env_file:
- ${APP_DATA_DIR}/settings.env
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
interval: 10s
timeout: 5s
retries: 10
redis:
image: valkey/valkey:7.2.12-alpine@sha256:d0809f1d763f9fc3d77cd27e7c0393b1b0d69b6ad9269f932328b4793a620c78
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/redis:/data
rabbitmq:
image: rabbitmq:3.13.7-management-alpine@sha256:0c64ec4fc5596406d755dcca75e8a3b618192cc5fb69f8f0340f06290b1cc08c
user: "1000:1000"
restart: on-failure
environment:
<<: *env
env_file:
- ${APP_DATA_DIR}/settings.env
volumes:
- ${APP_DATA_DIR}/data/rabbitmq:/var/lib/rabbitmq
minio:
image: alpine/minio:RELEASE.2025-10-15T17-29-55Z@sha256:cf23643a6cf9ce159c57643ceb88279e431262282428c9e0bf3a7ef1a97e84b4
user: "1000:1000"
restart: on-failure
command: server /export --console-address ":8763"
environment:
<<: *env
env_file:
- ${APP_DATA_DIR}/settings.env
volumes:
- ${APP_DATA_DIR}/data/uploads:/export
ports:
- "8763:8763"
# fails to connect if name contains underscore
container_name: plane-minio-1
api:
image: makeplane/plane-backend:v1.5.0@sha256:386f659e0e43c9cb29050fb71439f04f40c5c7e1d93cca2c810bc7e2b1134daf
user: "1000:1000"
restart: on-failure
environment:
<<: *env
env_file:
- ${APP_DATA_DIR}/settings.env
depends_on:
db:
condition: service_healthy
redis:
condition: service_started
rabbitmq:
condition: service_started
worker:
image: makeplane/plane-backend:v1.5.0@sha256:386f659e0e43c9cb29050fb71439f04f40c5c7e1d93cca2c810bc7e2b1134daf
user: "1000:1000"
restart: on-failure
environment:
<<: *env
env_file:
- ${APP_DATA_DIR}/settings.env
depends_on:
api:
condition: service_started
redis:
condition: service_started
rabbitmq:
condition: service_started
command: ["sh","-c","celery -A plane worker --loglevel=info"]
beat-worker:
image: makeplane/plane-backend:v1.5.0@sha256:386f659e0e43c9cb29050fb71439f04f40c5c7e1d93cca2c810bc7e2b1134daf
user: "1000:1000"
restart: on-failure
environment:
<<: *env
env_file:
- ${APP_DATA_DIR}/settings.env
depends_on:
api:
condition: service_started
redis:
condition: service_started
rabbitmq:
condition: service_started
migrator:
condition: service_completed_successfully
command: ["sh","-c","celery -A plane beat --loglevel=info"]
migrator:
image: makeplane/plane-backend:v1.5.0@sha256:386f659e0e43c9cb29050fb71439f04f40c5c7e1d93cca2c810bc7e2b1134daf
user: "1000:1000"
restart: on-failure
environment:
<<: *env
env_file:
- ${APP_DATA_DIR}/settings.env
depends_on:
db:
condition: service_healthy
command: ["sh","-c","python manage.py wait_for_db && python manage.py migrate"]
web:
image: makeplane/plane-frontend:v1.5.0@sha256:d6e8afb888431c8d2bc77d4ff7244a5cd28f8c674aa46f114315b8300014b8ce
restart: on-failure
environment:
<<: *env
env_file:
- ${APP_DATA_DIR}/settings.env
depends_on:
- api
live:
image: makeplane/plane-live:v1.5.0@sha256:f285e6979ed213b39207fcdf62abee9b5bde5dcc3731b4346d71e3a4f595810f
stop_grace_period: 30s
user: "1000:1000"
restart: on-failure
environment:
<<: *env
env_file:
- ${APP_DATA_DIR}/settings.env
depends_on:
- api
space:
image: makeplane/plane-space:v1.5.0@sha256:e7fd925a61796c4e37c2c42b39bf0c660dd0d4ca220705df70bee9f5e28e9273
user: "1000:1000"
restart: on-failure
environment:
<<: *env
env_file:
- ${APP_DATA_DIR}/settings.env
depends_on:
- api
healthcheck:
test: ["CMD-SHELL", "node -e \"require('http').get('http://127.0.0.1:3000/', (r) => process.exit(r.statusCode < 500 ? 0 : 1)).on('error', () => process.exit(1))\""]
interval: 30s
timeout: 5s
start_period: 10s
retries: 3
admin:
image: makeplane/plane-admin:v1.5.0@sha256:3857dc1000f08446375c277674ccda119ab092562f454e935bdba3aca5c5f4ee
restart: on-failure
environment:
<<: *env
env_file:
- ${APP_DATA_DIR}/settings.env
depends_on:
- api