diff --git a/template.env b/template.env index c61a1e77a..9b3c7b40a 100644 --- a/template.env +++ b/template.env @@ -8,19 +8,19 @@ DEFAULT_PASSWORD=MyPassword # Determines Production Mode, This will set the directory path to use for data storage PRODUCTION=False -# API Port for Pythong Server +# API Port for Python Server API_PORT=9000 # Exposes /docs and /redoc on the server API_DOCS=True -# Sets the Database type to use. -DB_URL=sqlite -# POSTGRES_USER -# POSTGRES_PASSWORD -# POSTGRES_SERVER -# POSTGRES_DB -# Sets the token expiration time in hours. +# Sets the Database type to use. Note that in order for Postgres URI to be created, you must set DB_ENGINE=postgres +DB_ENGINE=sqlite # Optional: 'sqlite', 'postgres' +POSTGRES_USER=mealie +POSTGRES_PASSWORD=mealie +POSTGRES_SERVER=postgres +POSTGRES_PORT=5432 +POSTGRES_DB=mealie TOKEN_TIME=24 # NOT USED