Sync-in
Self-hosted platform for file storage, sharing, synchronization and collaboration
Alternative to: dropbox
Sync-in is a self-hosted platform for file storage, synchronization and team collaboration. It offers a modern web interface with spaces, shares, protected public links, full-text search and WebDAV support, plus desktop and CLI sync clients. Documents can be edited online through Collabora Online, OnlyOffice or draw.io integrations, and files stay readable on your own filesystem.
Sync-in Docker Compose example
Self-host Sync-in on your own server, homelab, or VPS starting from this Docker Compose example.
It runs Sync-in in Docker containers using the official syncin/server:latest, mariadb:11 images, with persistent volumes and automatic restarts preconfigured.
Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.
services:
sync_in:
image: syncin/server:latest
restart: unless-stopped
depends_on:
mariadb:
condition: service_healthy
environment:
# Canonical public URL (no trailing slash) used to build notification links and document editor URLs.
SYNCIN_SERVER_PUBLICURL: "http://localhost:8080"
# MySQL/MariaDB connection URL. Points at the bundled mariadb service.
SYNCIN_MYSQL_URL: "mysql://root:MySQLRootPassword@mariadb:3306/sync_in"
# Secret used to sign access tokens. Use a long, randomly generated value (e.g. openssl rand -hex 32).
SYNCIN_AUTH_TOKEN_ACCESS_SECRET: "changeme"
# Secret used to sign refresh tokens. Must differ from the access token secret.
SYNCIN_AUTH_TOKEN_REFRESH_SECRET: "changeme-too"
# Key used to encrypt MFA secrets at rest. Use a long, random value and do not change it after enabling MFA.
SYNCIN_AUTH_ENCRYPTIONKEY: "changeme"
# When set (any value), an administrator account is created on first start if none exists.
INIT_ADMIN: "true"
# Login of the initial administrator account.
INIT_ADMIN_LOGIN: "sync-in"
# Password of the initial administrator account (at least 4 characters).
INIT_ADMIN_PASSWORD: "changeme"
# User ID the server runs as (owns the files in the data volume).
PUID: "8888"
# Group ID the server runs as.
PGID: "8888"
volumes:
- data:/app/data
mariadb:
image: mariadb:11
restart: unless-stopped
command:
- --innodb_ft_cache_size=16000000
- --max-allowed-packet=1G
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_uca1400_ai_ci
environment:
# Root password for the bundled database. Must match the password in SYNCIN_MYSQL_URL.
MYSQL_ROOT_PASSWORD: "MySQLRootPassword"
# Database created on first start.
MYSQL_DATABASE: "sync_in"
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
volumes:
- mariadb_data:/var/lib/mysql
volumes:
data:
mariadb_data:
Values set to changeme are required — replace them with your own
values before starting Sync-in.
Prefer a managed setup? WinterFlow installs, configures, and updates Sync-in for you using this same Docker Compose configuration.