Plane had been broken since the June env_file cutover (bare DATABASE_URL / SECRET_KEY entries overrode stack.env with empty values, so the migrator never connected) and TB-018 already dropped it. It held one empty project. Removes the 8 Plane services and their env from the dev stack, the plane.ginnoir.com Caddy block, the Authentik forward-auth provider/app, the nightly pg_dump and minio snapshot path, and stale doc references. A final pg_dump + minio tarball is kept at ~/plane-final-20261026 on valhalla. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f0ce040ed2
commit
39b26e68d1
16 files changed
+9
-306
No files matched your search
@@ -1,12 +1,9 @@
|
||||
# dev stack — developer tooling: code-server, DBX, BookStack, Plane.
|
||||
# dev stack — developer tooling: code-server, DBX, BookStack.
|
||||
# (Gitea, gitea-runner, postgres_gitea, registry, and registry-ui moved to the
|
||||
# management plane in portainer-compose.yml.)
|
||||
# management plane in portainer-compose.yml. Plane was removed 2026-10-26.)
|
||||
#
|
||||
# Volume -> bind-mount conversions:
|
||||
# dbx data -> /config/dbx (SSD)
|
||||
# plane db -> /config/plane/postgres (SSD)
|
||||
# plane redis -> /config/plane/redis (SSD)
|
||||
# plane minio -> /storage1/labdata/plane/minio (ZFS; attachments)
|
||||
|
||||
services:
|
||||
# ============================================================ CODE-SERVER
|
||||
@@ -57,8 +54,8 @@ services:
|
||||
- TZ
|
||||
- APP_URL=https://docs.ginnoir.com
|
||||
- APP_KEY
|
||||
# stack.env leaks Plane's DATABASE_URL; Laravel prioritizes it over DB_* and
|
||||
# would connect BookStack to postgres_plane. Pin it to BookStack's own MariaDB.
|
||||
# Laravel prioritizes DATABASE_URL over DB_*; pin it to BookStack's own MariaDB
|
||||
# so a stray DATABASE_URL in stack.env can never redirect it.
|
||||
- DATABASE_URL=mysql://bookstack:bookstack_d3v_pass@mariadb_bookstack:3306/bookstack
|
||||
- DB_HOST=mariadb_bookstack
|
||||
- DB_PORT=3306
|
||||
@@ -104,214 +101,6 @@ services:
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
# ============================================================ PLANE
|
||||
plane-web:
|
||||
container_name: plane_web
|
||||
image: makeplane/plane-frontend:latest
|
||||
restart: unless-stopped
|
||||
networks: [dev, edge]
|
||||
command: node web/server.js
|
||||
env_file:
|
||||
- stack.env
|
||||
environment:
|
||||
- NEXT_PUBLIC_API_BASE_URL=https://plane.ginnoir.com
|
||||
- HOSTNAME=0.0.0.0
|
||||
|
||||
plane-admin:
|
||||
container_name: plane_admin
|
||||
image: makeplane/plane-admin:v0.23.1
|
||||
restart: unless-stopped
|
||||
networks: [dev, edge]
|
||||
command: node admin/server.js
|
||||
env_file:
|
||||
- stack.env
|
||||
environment:
|
||||
- NEXT_PUBLIC_API_BASE_URL=https://plane.ginnoir.com
|
||||
- HOSTNAME=0.0.0.0
|
||||
depends_on:
|
||||
plane-api:
|
||||
condition: service_started
|
||||
plane-web:
|
||||
condition: service_started
|
||||
|
||||
plane-api:
|
||||
container_name: plane_api
|
||||
image: makeplane/plane-backend:latest
|
||||
restart: unless-stopped
|
||||
networks: [dev, edge]
|
||||
command: ./bin/docker-entrypoint-api.sh
|
||||
env_file:
|
||||
- stack.env
|
||||
environment:
|
||||
- SECRET_KEY
|
||||
- DEBUG=0
|
||||
- DATABASE_URL
|
||||
- REDIS_URL=redis://redis_plane:6379/
|
||||
- CELERY_BROKER_URL=redis://redis_plane:6379/0
|
||||
- USE_MINIO=1
|
||||
- AWS_REGION=us-east-1
|
||||
- AWS_ACCESS_KEY_ID
|
||||
- AWS_SECRET_ACCESS_KEY
|
||||
- AWS_S3_ENDPOINT_URL=http://plane_minio:9000
|
||||
- AWS_S3_BUCKET_NAME=uploads
|
||||
- WEB_URL=https://plane.ginnoir.com
|
||||
- CORS_ALLOWED_ORIGINS=https://plane.ginnoir.com
|
||||
- GUNICORN_WORKERS=2
|
||||
depends_on:
|
||||
postgres_plane:
|
||||
condition: service_healthy
|
||||
redis_plane:
|
||||
condition: service_healthy
|
||||
plane-migrator:
|
||||
condition: service_completed_successfully
|
||||
|
||||
plane-worker:
|
||||
container_name: plane_worker
|
||||
image: makeplane/plane-backend:latest
|
||||
restart: unless-stopped
|
||||
networks: [dev]
|
||||
command: ./bin/docker-entrypoint-worker.sh
|
||||
env_file:
|
||||
- stack.env
|
||||
environment:
|
||||
- SECRET_KEY
|
||||
- DEBUG=0
|
||||
- DATABASE_URL
|
||||
- REDIS_URL=redis://redis_plane:6379/
|
||||
- CELERY_BROKER_URL=redis://redis_plane:6379/0
|
||||
- USE_MINIO=1
|
||||
- AWS_REGION=us-east-1
|
||||
- AWS_ACCESS_KEY_ID
|
||||
- AWS_SECRET_ACCESS_KEY
|
||||
- AWS_S3_ENDPOINT_URL=http://plane_minio:9000
|
||||
- AWS_S3_BUCKET_NAME=uploads
|
||||
depends_on:
|
||||
postgres_plane:
|
||||
condition: service_healthy
|
||||
redis_plane:
|
||||
condition: service_healthy
|
||||
plane-migrator:
|
||||
condition: service_completed_successfully
|
||||
|
||||
plane-beat:
|
||||
container_name: plane_beat
|
||||
image: makeplane/plane-backend:latest
|
||||
restart: unless-stopped
|
||||
networks: [dev]
|
||||
command: ./bin/docker-entrypoint-beat.sh
|
||||
env_file:
|
||||
- stack.env
|
||||
environment:
|
||||
- SECRET_KEY
|
||||
- DEBUG=0
|
||||
- DATABASE_URL
|
||||
- REDIS_URL=redis://redis_plane:6379/
|
||||
- CELERY_BROKER_URL=redis://redis_plane:6379/0
|
||||
depends_on:
|
||||
postgres_plane:
|
||||
condition: service_healthy
|
||||
redis_plane:
|
||||
condition: service_healthy
|
||||
plane-migrator:
|
||||
condition: service_completed_successfully
|
||||
|
||||
plane-migrator:
|
||||
container_name: plane_migrator
|
||||
image: makeplane/plane-backend:latest
|
||||
restart: "no"
|
||||
networks: [dev]
|
||||
command: ./bin/docker-entrypoint-migrator.sh
|
||||
env_file:
|
||||
- stack.env
|
||||
environment:
|
||||
- SECRET_KEY
|
||||
- DATABASE_URL
|
||||
- REDIS_URL=redis://redis_plane:6379/
|
||||
depends_on:
|
||||
postgres_plane:
|
||||
condition: service_healthy
|
||||
redis_plane:
|
||||
condition: service_healthy
|
||||
|
||||
plane-create-bucket:
|
||||
container_name: plane_create_bucket
|
||||
image: minio/mc:latest
|
||||
restart: "no"
|
||||
networks: [dev]
|
||||
depends_on:
|
||||
plane-minio:
|
||||
condition: service_healthy
|
||||
entrypoint: >
|
||||
/bin/sh -c "
|
||||
until /usr/bin/mc alias set plane_minio http://plane_minio:9000 $$MINIO_USER $$MINIO_PASSWORD; do sleep 1; done;
|
||||
/usr/bin/mc mb plane_minio/uploads --ignore-existing;
|
||||
exit 0;
|
||||
"
|
||||
env_file:
|
||||
- stack.env
|
||||
environment:
|
||||
- MINIO_USER
|
||||
- MINIO_PASSWORD
|
||||
|
||||
postgres_plane:
|
||||
container_name: postgres_plane
|
||||
image: postgres:16-alpine
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "com.centurylabs.watchtower.enable=false"
|
||||
networks: [dev]
|
||||
env_file:
|
||||
- stack.env
|
||||
environment:
|
||||
- POSTGRES_USER=plane
|
||||
- POSTGRES_PASSWORD
|
||||
- POSTGRES_DB=plane
|
||||
volumes:
|
||||
- /config/plane/postgres:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U plane -d plane"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
redis_plane:
|
||||
container_name: redis_plane
|
||||
image: redis:7-alpine
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "com.centurylabs.watchtower.enable=false"
|
||||
networks: [dev]
|
||||
command: --save 60 1 --loglevel warning
|
||||
volumes:
|
||||
- /config/plane/redis:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
plane-minio:
|
||||
container_name: plane_minio
|
||||
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "com.centurylabs.watchtower.enable=false"
|
||||
networks: [dev]
|
||||
command: server /data --console-address ":9001"
|
||||
env_file:
|
||||
- stack.env
|
||||
environment:
|
||||
- MINIO_ROOT_USER
|
||||
- MINIO_ROOT_PASSWORD
|
||||
volumes:
|
||||
- /storage1/labdata/plane/minio:/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -sf http://localhost:9000/minio/health/live || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 20s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
networks:
|
||||
dev:
|
||||
name: dev
|
||||
|
||||
@@ -17,19 +17,3 @@ BOOKSTACK_OIDC_CLIENT_ID=8YV4BI2JVIG1QzS2DbylEgqv56sgfiOVRXOgw2Z5
|
||||
BOOKSTACK_OIDC_CLIENT_SECRET=wIyiw7LmGBORDyTdc2crSZryXJHzIq4gtajAKSpOU7e8BkBSO6SstM9gGPrnp4tbJhCFSQggYAgtYd5LOjUvQpSWInzm0JLlmLg1BTlPq5EVVieNYuWRCCQrerj8gRZ0
|
||||
OIDC_CLIENT_ID=8YV4BI2JVIG1QzS2DbylEgqv56sgfiOVRXOgw2Z5
|
||||
OIDC_CLIENT_SECRET=wIyiw7LmGBORDyTdc2crSZryXJHzIq4gtajAKSpOU7e8BkBSO6SstM9gGPrnp4tbJhCFSQggYAgtYd5LOjUvQpSWInzm0JLlmLg1BTlPq5EVVieNYuWRCCQrerj8gRZ0
|
||||
|
||||
# Plane project management
|
||||
# Rotate with: openssl rand -hex 32
|
||||
PLANE_SECRET_KEY=60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b52
|
||||
SECRET_KEY=60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b52
|
||||
PLANE_DB_PASSWORD=plane_d3v_p4ss_8x3m
|
||||
POSTGRES_PASSWORD=plane_d3v_p4ss_8x3m
|
||||
DATABASE_URL=postgresql://plane:plane_d3v_p4ss_8x3m@postgres_plane:5432/plane
|
||||
PLANE_MINIO_USER=planeadmin
|
||||
MINIO_USER=planeadmin
|
||||
AWS_ACCESS_KEY_ID=planeadmin
|
||||
PLANE_MINIO_PASSWORD=plane_minio_p4ss
|
||||
MINIO_PASSWORD=plane_minio_p4ss
|
||||
AWS_SECRET_ACCESS_KEY=plane_minio_p4ss
|
||||
MINIO_ROOT_USER=planeadmin
|
||||
MINIO_ROOT_PASSWORD=plane_minio_p4ss
|
||||
Reference in new issue
Block a user