@@ -41,47 +41,15 @@ LIVEKIT_API_SECRET=
4141# Configure your database connection here.
4242#
4343# Supported databases:
44- # - PostgreSQL (DB_TYPE=pg)
45- # - MySQL (DB_TYPE=mysql2)
46- # - SQLite (fallback - no configuration needed)
47- #
48- # If database environment variables are not provided,
49- # the application will automatically fall back to SQLite.
50-
51- # Database type - specify the database engine to use
52- # Options: 'pg' (PostgreSQL), 'mysql2' (MySQL)
53- DB_TYPE = pg
54-
55- # Database connection details
56- DB_HOST = localhost
57- DB_PORT = 5432
58- DB_USER = your_username
59- DB_PASSWORD = your_password
60- DB_NAME = your_database_name
61- DB_SCHEMA = your_database_schema
62-
63- # ==============================================
64- # STORAGE CONFIGURATION
65- # ==============================================
66- # Configure your file storage system here.
67- #
68- # Supported storage types:
69- # - Local file system (default - no configuration needed)
70- # - AWS S3 (requires S3 configuration below)
71- #
72- # If STORAGE_TYPE is provided, AWS S3 storage will be used.
73- # If STORAGE_TYPE is empty or not set, local file storage will be used.
44+ # - SQLite (default - no configuration needed)
45+ # - PostgreSQL (DB_TYPE=pg with DB_URL)
7446#
75- # AWS credentials can be provided via environment variables below,
76- # or through AWS CLI configuration, IAM roles, or instance profiles.
47+ # If DB_TYPE and DB_URL are not provided or empty,
48+ # the application will automatically use SQLite in the world folder.
49+
50+ # Database type - leave empty for SQLite, or 'pg' for PostgreSQL
51+ DB_TYPE =
7752
78- # AWS S3 storage configuration (only required when using S3)
79- # To use AWS S3 storage, set STORAGE_TYPE and other S3 variables below
80- STORAGE_TYPE =
81- S3_BUCKET_NAME = bucket-name
82- AWS_ACCESS_KEY_ID = access-key-id
83- AWS_SECRET_ACCESS_KEY = secret-key-id
84- S3_REGION = eu-west-1
85- S3_ASSETS_PREFIX =
86- S3_COLLECTIONS_PREFIX =
87- S3_STORAGE_PREFIX =
53+ # Database connection URL - leave empty for SQLite
54+ # For PostgreSQL, use format: postgres://username:password@host:port/database?schema=public
55+ DB_URL =
0 commit comments