Docker Self-Hosting
Deploy Tymeslot using Docker and Docker Compose. Perfect for VPS hosting, home servers, or any environment with Docker support.
Tymeslot is designed to work seamlessly with Cloudron's managed infrastructure. This guide covers how to deploy Tymeslot as a custom app, utilizing Cloudron's built-in services like SSL management and PostgreSQL backups.
Deploying on Cloudron provides enterprise-grade infrastructure out of the box:
Clone the Tymeslot repository and build the Docker image locally:
git clone https://github.com/tymeslot/tymeslot.git
cd tymeslot
docker build -t tymeslot:cloudron .
Use the Cloudron CLI to install the built image to your server:
cloudron install --image tymeslot:cloudron --location tymeslot.yourdomain.com
Go to your Cloudron Dashboard, navigate to Apps โ Tymeslot โ Configure โ Environment and set the following required keys:
SECRET_KEY_BASE=your_secret_key_here # Generate with: openssl rand -base64 64
PHX_HOST=tymeslot.yourdomain.com
PORT=4000
CLOUDRON_POSTGRESQL_URL variable. You don't need to configure database credentials manually.
To enable calendar sync or social login, add your provider credentials to the Environment section:
GOOGLE_CLIENT_ID=your_id
GOOGLE_CLIENT_SECRET=your_secret
GOOGLE_STATE_SECRET=random_string
Redirect URI: https://tymeslot.yourdomain.com/auth/google/callback
GITHUB_CLIENT_ID=your_id
GITHUB_CLIENT_SECRET=your_secret
cloudron logs --app tymeslot.yourdomain.com --follow
cloudron exec --app tymeslot.yourdomain.com -- psql $CLOUDRON_POSTGRESQL_URL
git pull origin main
docker build -t tymeslot:cloudron .
cloudron install --image tymeslot:cloudron --app tymeslot.yourdomain.com
App won't start: Check logs via CLI or Dashboard. Usually caused by a missing SECRET_KEY_BASE or incorrect PHX_HOST.
Manual Migrations: If you need to run migrations manually:
cloudron exec --app tymeslot.yourdomain.com -- bin/tymeslot eval 'Tymeslot.Release.migrate()'
Deploy Tymeslot using Docker and Docker Compose. Perfect for VPS hosting, home servers, or any environment with Docker support.
Add your booking widget to any website. Works with WordPress, Webflow, Wix, custom sites, and more.