Install
The self-hosted edition is one Docker image with everything inside:
| Component | Purpose |
|---|---|
| PostgreSQL | Application database (users, workspaces, notes, teams, messages) |
| Backend | HTTP / WebSocket / files and container APIs |
| nginx | Single entry point (default 8080 → backend + static assets) |
| Workspace containers | Runs workspace containers through the host docker.sock |
After install you only need to remember: container name pacasys, one data directory, one port (default 8080).
Requirements
Section titled “Requirements”| Item | Requirement |
|---|---|
| OS | Any Linux that runs Docker (x86_64) |
| Docker | 20.10+ |
| Privileges | root |
| Memory | ≥ 2 GB |
| Disk | data partition ≥ 5 GB, root partition (/var/lib/docker) ≥ 2 GB |
| Port | one free port (default 8080); root path only, no sub-path deployment |
Install (about 5 minutes)
Section titled “Install (about 5 minutes)”cd /opt/pacasyssudo ./install.shThe script pre-checks, loads the bundled image, writes .env, creates the container and waits for healthy.
First boot initialises the database — 40–90 seconds is normal.
sudo ./install.sh --port 9000sudo ./install.sh --data-dir /data/pacasys # recommended: dedicated diskOpen http://<server-ip>:8080; admin console at http://<server-ip>:8080/boss.
First login
Section titled “First login”The login form accepts email only (usernames are not credentials):
sudo docker exec pacasys cat /var/lib/pacasys/secrets/first-login.txtLog in, then change the password immediately in the admin console and delete the file.
Health check
Section titled “Health check”sudo ./doctor.shAll 13 checks green means you are good to go. Anything red — follow the hint or see Troubleshooting.
Layout
Section titled “Layout”| Path | Contents |
|---|---|
/var/lib/pacasys |
data root: PostgreSQL data, workspace files, secrets, logs, backups |
/var/lib/pacasys/secrets |
master.key, jwt.secret, db.password, first-login info |
/var/lib/pacasys/storage |
workspace files (personal / team / system) |
./.env |
runtime settings (port, image, data dir, socket GID) |
| Script | Purpose |
|---|---|
install.sh |
install / recreate the container from .env |
upgrade.sh |
upgrade with automatic rollback |
backup.sh |
backup (database + files + secrets, keeps the last 7) |
doctor.sh |
read-only diagnostics |
uninstall.sh |
uninstall (keeps data unless --purge) |
Before exposing to the internet
Section titled “Before exposing to the internet”The default setup is plain HTTP. Put HTTPS in front (reverse proxy or load balancer) and restrict /boss,
see Security baseline.