CI / go (Server) (push) Successful in 23m34s
CI / go (Web-App) (push) Successful in 12m21s
CI / frontend (push) Failing after 10m55s
Docs / build (push) Canceled after 0s
Docs / deploy (push) Canceled after 0s
CI / desktop (ubuntu-latest) (push) Successful in 1h57m19s
CI / mobile (push) Failing after 5m8s
CI / docker (push) Failing after 41m19s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
docwell-db's base image (tajniak81/pocketbase-docker-root) listens on 8070 by default. Use that port everywhere instead of overriding it to 8090: the Database image, every Docker compose file and .env example, the AIO start script, docwell-server's DOCWELL_PB_URL default, and the docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
85 lines
3.6 KiB
Bash
85 lines
3.6 KiB
Bash
# Docwell: production stack config (Docker/docker-compose.prod.yml).
|
|
# Copy to .env and fill in, then:
|
|
# docker compose -f docker-compose.prod.yml pull
|
|
# docker compose -f docker-compose.prod.yml up -d
|
|
|
|
# --- Images ------------------------------------------------------------------
|
|
# Registry and tag for all three images. For images released on a Gitea server,
|
|
# DOCWELL_REGISTRY=<gitea host>/<owner>. Pin a version in production.
|
|
DOCWELL_REGISTRY=ghcr.io/docwell
|
|
DOCWELL_VERSION=latest
|
|
# Or override one image at a time (a mirror, a hotfix tag):
|
|
# DB_IMAGE=ghcr.io/docwell/docwell-db:1.0.0
|
|
# SERVER_IMAGE=ghcr.io/docwell/docwell-server:1.0.0
|
|
# WEB_IMAGE=ghcr.io/docwell/docwell-web:1.0.0
|
|
|
|
# --- PocketBase superuser ----------------------------------------------------
|
|
# docwell-db creates it on the first boot; docwell-server signs in with it.
|
|
# REQUIRED. Changing the password here later does not change it in the
|
|
# database; see README.md, "Changing the PocketBase password".
|
|
PB_ADMIN_EMAIL=admin@example.com
|
|
PB_ADMIN_PASSWORD=change-me-long-password
|
|
|
|
# Encrypts PocketBase's stored settings (SMTP password, S3 secret). Exactly 32
|
|
# characters, e.g. `openssl rand -hex 16`. Blank = off. Set it before the first
|
|
# boot and keep a copy: the settings cannot be read without it.
|
|
PB_ENCRYPTION_KEY=
|
|
|
|
# --- Public addresses --------------------------------------------------------
|
|
# Where browsers reach docwell-web and docwell-server. Behind a reverse proxy
|
|
# these are the https:// names, and DOCWELL_COLLAB_URL is wss://.
|
|
DOCWELL_WEB_URL=http://localhost:3000
|
|
DOCWELL_PUBLIC_URL=http://localhost:8080
|
|
DOCWELL_COLLAB_URL=ws://localhost:8080/collab
|
|
# Browser origins allowed to call the API. Defaults to DOCWELL_WEB_URL.
|
|
# DOCWELL_CORS_ORIGINS=https://docs.example.com
|
|
|
|
# Name shown in emails and the browser tab. Blank = Docwell.
|
|
DOCWELL_APP_NAME=
|
|
|
|
# The Draw.io editor to embed. Blank = https://embed.diagrams.net; point it at
|
|
# a self-hosted jgraph/drawio to keep drawings on your network.
|
|
DOCWELL_DRAWIO_URL=
|
|
|
|
# --- Accounts ----------------------------------------------------------------
|
|
# Sign-up defaults until a superadmin changes them in the admin panel. The
|
|
# first account can always sign up and becomes the instance admin.
|
|
DOCWELL_SIGNUP_ENABLED=true
|
|
# Comma-separated email domains allowed to sign up (blank = any).
|
|
DOCWELL_SIGNUP_DOMAINS=
|
|
|
|
# Largest attachment in MB (1-100).
|
|
DOCWELL_MAX_UPLOAD_MB=50
|
|
# Days to keep audit log entries. Blank = 365, 0 = forever.
|
|
DOCWELL_AUDIT_RETENTION_DAYS=
|
|
|
|
# --- Email -------------------------------------------------------------------
|
|
# Verification, password reset and sign-in codes, sent by PocketBase. Blank
|
|
# host = email off (and the admin panel's Mail screen stays in charge).
|
|
DOCWELL_SMTP_HOST=
|
|
DOCWELL_SMTP_PORT=587
|
|
DOCWELL_SMTP_USERNAME=
|
|
DOCWELL_SMTP_PASSWORD=
|
|
DOCWELL_SMTP_TLS=false
|
|
DOCWELL_MAIL_FROM=no-reply@example.com
|
|
|
|
# --- Ports -------------------------------------------------------------------
|
|
# docwell-web and docwell-server are both public: the browser loads the app
|
|
# from the first and calls the API on the second. Behind a reverse proxy on
|
|
# this host, bind them to 127.0.0.1.
|
|
WEB_BIND=0.0.0.0
|
|
WEB_PORT=3000
|
|
SERVER_BIND=0.0.0.0
|
|
SERVER_PORT=8080
|
|
# The PocketBase dashboard (/_/). Loopback only; use an SSH tunnel to reach it.
|
|
PB_BIND=127.0.0.1
|
|
PB_PORT=8070
|
|
|
|
# --- Storage -----------------------------------------------------------------
|
|
# Docker-managed named volumes by default; set absolute host paths for bind
|
|
# mounts, e.g. PB_DATA=/srv/docwell/pb_data.
|
|
# PB_DATA: database, uploaded files, PocketBase backups. Back this up.
|
|
PB_DATA=pb_data
|
|
# SERVER_DATA: the search index, rebuilt from the database when missing.
|
|
SERVER_DATA=server_data
|