Skip to content
SmooSense LogoSmooSense
DemosDocsBlogsStart

Deployment

User Guide
InstallDeploymentConfigurationS3/Folder BrowserDatabase BrowserTable ViewerExploratory Data AnalysisEmbeddingVisualization

Deploy SmooSense as a Web Service

SmooSense can be deployed as a persistent web service so your team can access data from any browser — no local installation required.

1. Example files#

Three files are all you need:

FilePurpose
app.pyFlask application entry point
DockerfileContainer image definition
MakefileConvenience commands

app.py#

"""
SmooSense deployment entry point.

Set environment variables for S3 and Auth0 as needed.
"""

import os

from smoosense.app import SmooSenseApp

smoosense = SmooSenseApp()

# Flask app object for use with gunicorn:
#   gunicorn "app:app"
app = smoosense.create_app()

if __name__ == "__main__":
    smoosense.run(host="0.0.0.0", port=int(os.environ.get("PORT", "8000")))

Dockerfile#

FROM python:3.11-slim

WORKDIR /app

RUN pip install --no-cache-dir smoosense gunicorn

COPY app.py .

EXPOSE 8000

CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "1", "--timeout", "120", "app:app"]

Makefile#

IMAGE_NAME ?= smoosense-app
PORT       ?= 8000

build:
	docker build -t $(IMAGE_NAME) .

run: build
	@echo "SmooSense running at http://localhost:$(PORT)"
	docker run --rm \
		-p $(PORT):8000 \
		$(IMAGE_NAME)

run-s3: build
	@echo "SmooSense running at http://localhost:$(PORT)"
	docker run --rm \
		-p $(PORT):8000 \
		-v $(HOME)/.aws:/root/.aws:ro \
		-e AWS_PROFILE \
		-e AWS_ENDPOINT_URL \
		$(IMAGE_NAME)

2. Quick start#

make run

Open http://localhost:8000 in your browser.

3. With S3 access#

Forward your AWS credentials into the container so SmooSense can read S3 paths:

make run-s3 AWS_PROFILE=my-profile

See Configuration for S3-compatible storage (Cloudflare R2, MinIO, etc.).

4. With authentication#

Set Auth0 environment variables to restrict access to your team:

docker run --rm \
  -p 8000:8000 \
  -e AUTH0_DOMAIN="your-tenant.auth0.com" \
  -e AUTH0_CLIENT_ID="your-client-id" \
  -e AUTH0_CLIENT_SECRET="your-client-secret" \
  -e APP_SECRET_KEY="a-random-secret-key" \
  smoosense-app

See Authentication for the full Auth0 setup guide.

5. Environment variables#

VariableDescriptionDefault
PORTPort the app listens on8000
AWS_PROFILEAWS credentials profile for S3 access
AWS_ENDPOINT_URLEndpoint for S3-compatible storage
AWS_ACCESS_KEY_IDAWS access key (alternative to profile)
AWS_SECRET_ACCESS_KEYAWS secret key (alternative to profile)
AUTH0_DOMAINAuth0 tenant domain
AUTH0_CLIENT_IDAuth0 application client ID
AUTH0_CLIENT_SECRETAuth0 application client secret
APP_SECRET_KEYFlask session secret key (auto-generated if unset)
SmooSense Logo

10x easier to analyze your multimodal data

Copyright © 2026 SmooSense

Contact