Install Community Edition on your own server
The same platform that powers our hosted plans, packaged as Docker images. One compose file, one .env, one command. This page has everything needed to install it — for people and for AI agents.
At a glance
| Product | Sitebill Community Edition — real estate website, CRM, listings, search and admin panel |
|---|---|
| Docker Hub | sitebill/community-api (API, queue, scheduler) and sitebill/community-web (website and admin panel) |
| Other images | mariadb:11.8 and redis:8-alpine, pulled automatically by the compose file |
| Tags | latest (newest stable release) or X.Y.Z (pinned version, recommended for production). Both images must use the same tag. |
| Requirements | A Linux server (or any machine) with Docker Engine and Docker Compose v2. A small VPS with 2 vCPU and 4 GB RAM is a comfortable start. |
| Exposed port | 3000 (the web container; change it with WEB_PORT). The API is reached through the same address. |
| Install time | About 5 minutes plus the image download |
| Cost | The core is free with no time limit. Paid apps (CRM, booking, telephony, bots, feed export, AI search) are activated with a license key. |
| Success check | docker compose ps shows all services running and healthy, and APP_URL opens the setup wizard (or the login page when the admin was created from .env). |
Images and links
Everything is pulled by docker compose up -d. These are the repositories behind it.
sitebill/community-apiDocker Hub
API, queue worker and scheduler: Laravel, PHP 8.4, nginx and php-fpm. One image runs in three roles.
→sitebill/community-webDocker Hub
The website and the admin panel (Nuxt, server-side rendering). Listens on port 3000.
→mariadbOfficial image
The database, version 11.8. Data lives in the dbdata volume.
→redisOfficial image
Cache and job queue, version 8 (alpine).
→llms.txtFor agents
The same facts in plain text for AI agents and tools.
→Get a license
Paid apps are activated with a license key from your account.
→Install in eight steps
Copy the commands in order. Replace the example domain, password and e-mail with your own.
Check that Docker is installed
You need Docker Engine and the Compose plugin (v2). Both commands must print a version.
docker --version docker compose versionDownload the compose file and the environment template
Create a folder for the installation. The files are always the current versions; the full
docker-compose.ymlis also shown at the bottom of this page.mkdir sitebill-community && cd sitebill-community curl -O https://www.sitebill.ru/storage/community/docker-compose.yml curl -o .env https://www.sitebill.ru/storage/community/env.exampleSet the variables in .env
Two values are required:
DB_PASSWORDandAPP_URL. Generate a strong password, then edit.env.Variable Meaning DB_PASSWORDDatabase password. Required. It is applied when the database is first created; changing it later needs extra steps (see troubleshooting). APP_URLThe address visitors open, for example https://realty.example.com. For a local test leavehttp://localhost:3000.WEB_PORTHost port for the website. Default 3000.COMMUNITY_ADMIN_EMAIL,COMMUNITY_ADMIN_PASSWORDOptional. When both are set, the administrator is created automatically and the setup wizard is skipped. Handy for scripted and unattended installs. COMMUNITY_VERSIONImage tag for both images. Default latest; setX.Y.Zto pin a version.COMMUNITY_TELEMETRYfalseturns off the anonymous daily install statistics (version, counters, enabled apps — no content, e-mails or keys).# generate a password openssl rand -base64 24 # .env (minimum) APP_URL=https://realty.example.com DB_PASSWORD=paste-the-generated-password # optional: create the admin automatically COMMUNITY_ADMIN_EMAIL=admin@example.com COMMUNITY_ADMIN_PASSWORD=choose-a-strong-passwordStart the stack
The first start downloads the images and prepares the database; the
apiservice installs itself (COMMUNITY_AUTOINSTALL). Wait untilapireportshealthy. The other services (web,queue,scheduler,db,redis) start after it.docker compose up -d docker compose ps docker compose logs -f apiOpen the site and finish the setup wizard
Open
APP_URLin a browser. The wizard creates the administrator, lets you choose a map provider and enter a license key (you can skip the key and add it later in Apps). If the administrator was created from.env, sign in at/auth/logininstead.Check from the command line:
curl -I $APP_URLshould answer with200or a redirect to the wizard.curl -I http://localhost:3000Put it behind HTTPS
Point your domain’s DNS at the server and put a reverse proxy in front of port 3000. With Caddy the certificate is issued automatically. Then set
APP_URL=https://…,SESSION_SECURE_COOKIE=trueandSANCTUM_STATEFUL_DOMAINS=your-domainin.envand apply the change.# /etc/caddy/Caddyfile realty.example.com { reverse_proxy 127.0.0.1:3000 } # .env APP_URL=https://realty.example.com SESSION_SECURE_COOKIE=true SANCTUM_STATEFUL_DOMAINS=realty.example.com # apply docker compose up -dActivate paid apps with a license key
The core works without a key. To enable paid apps, get a license in your account on this site, then open Apps in the admin panel and enter the key. Apps switch on immediately — no reinstall. The license server address and the verification key are built into the images.
Update and back up
Updates: Apps → Updates in the admin panel downloads a signed release, verifies it and rolls back by itself if something fails. To move to a newer image instead, pull and restart. Back up the database and the
datavolume (files, releases, application key) — never delete that volume.# update images docker compose pull docker compose up -d # database backup docker compose exec db sh -c 'mariadb-dump -u"$MARIADB_USER" -p"$MARIADB_PASSWORD" "$MARIADB_DATABASE"' > backup.sql
The full docker-compose.yml
Six services in one file: api, queue, scheduler, web, db and redis. Save it as docker-compose.yml next to your .env.
docker-compose.yml
The
api,queueandschedulerservices run the samesitebill/community-apiimage in three roles. They share thedatavolume withweb.# Sitebill Community Edition: docker compose up -d # Before the first start create .env next to this file and set DB_PASSWORD and APP_URL. name: etown-community x-api: &api image: ${COMMUNITY_IMAGE_API:-sitebill/community-api}:${COMMUNITY_VERSION:-latest} env_file: .env environment: &api-env APP_ENV: production APP_DEBUG: "false" EDITION: community COMMUNITY_TELEMETRY: ${COMMUNITY_TELEMETRY:-true} DB_CONNECTION: mysql DB_HOST: db DB_PORT: 3306 DB_DATABASE: ${DB_DATABASE:-community} DB_USERNAME: ${DB_USERNAME:-community} DB_PASSWORD: ${DB_PASSWORD:?Set DB_PASSWORD in .env} REDIS_HOST: redis CACHE_STORE: redis QUEUE_CONNECTION: redis SESSION_DRIVER: database SESSION_SECURE_COOKIE: ${SESSION_SECURE_COOKIE:-false} SESSION_SAME_SITE: lax SANCTUM_STATEFUL_DOMAINS: ${SANCTUM_STATEFUL_DOMAINS:-localhost,localhost:3000,127.0.0.1:3000} volumes: - data:/data depends_on: db: condition: service_healthy redis: condition: service_started restart: unless-stopped services: api: <<: *api environment: <<: *api-env APP_URL: ${APP_URL:-http://localhost:3000} COMMUNITY_AUTOINSTALL: "true" queue: <<: *api command: ["follow-release", "php", "artisan", "queue:work", "--sleep=3", "--tries=3", "--max-time=3600"] healthcheck: disable: true environment: <<: *api-env AUTORUN_ENABLED: "false" COMMUNITY_AUTOINSTALL: "false" depends_on: api: condition: service_healthy scheduler: <<: *api command: ["follow-release", "php", "artisan", "schedule:work"] healthcheck: disable: true environment: <<: *api-env AUTORUN_ENABLED: "false" COMMUNITY_AUTOINSTALL: "false" depends_on: api: condition: service_healthy web: image: ${COMMUNITY_IMAGE_WEB:-sitebill/community-web}:${COMMUNITY_VERSION:-latest} environment: NUXT_PUBLIC_EDITION: community NUXT_PUBLIC_API_BASE: ${APP_URL:-http://localhost:3000} NUXT_PUBLIC_STORAGE_BASE: ${APP_URL:-http://localhost:3000}/storage/ NUXT_PUBLIC_MARKETPLACE_URL: ${MARKETPLACE_URL:-https://www.sitebill.ru/self-hosted/#buy} volumes: - data:/data:ro ports: - "${WEB_PORT:-3000}:3000" depends_on: api: condition: service_healthy restart: unless-stopped db: image: mariadb:11.8 environment: MARIADB_DATABASE: ${DB_DATABASE:-community} MARIADB_USER: ${DB_USERNAME:-community} MARIADB_PASSWORD: ${DB_PASSWORD:?Set DB_PASSWORD in .env} MARIADB_RANDOM_ROOT_PASSWORD: "1" volumes: - dbdata:/var/lib/mysql healthcheck: test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] interval: 5s timeout: 5s retries: 30 restart: unless-stopped redis: image: redis:8-alpine volumes: - redisdata:/data restart: unless-stopped volumes: data: dbdata: redisdata:
Troubleshooting and questions
The site does not open or the login does not stay
Check that APP_URL matches exactly the address in the browser (scheme, domain, port). Over plain http keep SESSION_SECURE_COOKIE=false; over https set it to true and list the domain in SANCTUM_STATEFUL_DOMAINS. Then run docker compose up -d again.
The api service is not healthy
Read the log with docker compose logs api. The usual causes are a missing DB_PASSWORD, a busy port (change WEB_PORT) or too little memory on a very small server.
I changed DB_PASSWORD and the database refuses the connection
MariaDB reads the password only when the database volume is created. On a fresh test install remove the volumes with docker compose down -v and start again. On a live install change the password inside MariaDB first, then in .env.
Which version should I run?
Use a pinned version X.Y.Z in COMMUNITY_VERSION on production and update deliberately. latest is convenient for trials. The web and api images must have the same tag.
Is any data sent to you?
Only the anonymous daily statistics described above (version, counters, enabled apps). Set COMMUNITY_TELEMETRY=false to turn it off. Listings, contacts and files never leave your server.
Can I move from Community Edition to the hosted plan, or back?
Yes. Listings and contacts can be exported and imported from Excel, so you are never locked in.
For AI agents and automation
This page is written to be executed top to bottom. Machine-readable entry points:
- Plain-text summary: /llms.txt
- Steps and commands are marked up as
HowTostructured data in the page head. - Docker Hub: https://hub.docker.com/r/sitebill/community-api and https://hub.docker.com/r/sitebill/community-web
- Unattended install: set
DB_PASSWORD,APP_URL,COMMUNITY_ADMIN_EMAILandCOMMUNITY_ADMIN_PASSWORDin.env, rundocker compose up -d, then polldocker compose psuntilapiis healthy andcurl -I $APP_URLanswers. - Never print or commit
.env; it contains the database password and the administrator credentials.
Ready to install?
Pull the images, follow the steps above, and add paid apps with a license key whenever you need them.