Sign inSign up

drivoly/server

By drivoly

Updated 3 months ago

Self-hosted team file sync: Go API, PostgreSQL, web portal & admin UI. Docker Compose ready.

Image
Security
Developer tools
Databases & storage
0

1.2K

drivoly/server repository overview

Drivoly Server

Self-hosted team file sync with Go API, PostgreSQL, embedded web portal/admin UI, ACL-based spaces, and chunked uploads.

Install

Use drivoly/server:latest with PostgreSQL via Docker Compose. Download the current docker-compose.yml from the Drivoly docs/website (https://drivoly.cloud), then create a .env file in the same folder before running Compose:

POSTGRES_PASSWORD=replace-with-a-long-random-password
JWT_SECRET=replace-with-at-least-32-random-characters
[email protected]
BOOTSTRAP_ADMIN_PASSWORD=replace-with-a-strong-initial-password
PUBLIC_BASE_URL=https://files.example.com
ALLOWED_ORIGINS=https://files.example.com
ALLOW_REGISTER=false

Start:

docker compose config
docker compose pull
docker compose up -d

Open:

  • Portal: http://localhost:8443/portal
  • Admin: http://localhost:8443/admin
  • Login: BOOTSTRAP_ADMIN_EMAIL / BOOTSTRAP_ADMIN_PASSWORD from .env

Production notes

Use strong secrets, keep ALLOW_REGISTER=false, set PUBLIC_BASE_URL and ALLOWED_ORIGINS to your public HTTPS origin, and run behind TLS or set TLS_CERT_FILE / TLS_KEY_FILE. Use PostgreSQL TLS (sslmode=require or stricter) when the database is not on a trusted local Docker network.

Troubleshooting

If Compose reports required variable POSTGRES_PASSWORD is missing a value, create .env next to docker-compose.yml. Compose resolves variables before containers start, so the file must exist before docker compose config, pull, build, or up.

Tag summary

Content type

Image

Digest

sha256:62b402d31

Size

20 MB

Last updated

3 months ago

docker pull drivoly/server