精简后的项目:仅保留 api/ui 源码、文档、构建依赖
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# Copy this file to .env
|
||||
|
||||
PHOTOVIEW_DATABASE_DRIVER=sqlite
|
||||
|
||||
# Specifies the filepath for the sqlite database, if PHOTOVIEW_DATABASE_DRIVER is set to 'sqlite'
|
||||
PHOTOVIEW_SQLITE_PATH=photoview.db
|
||||
|
||||
# Specifies the connection string for the mysql database, if PHOTOVIEW_DATABASE_DRIVER is set to 'mysql'
|
||||
# PHOTOVIEW_MYSQL_URL=user:password@tcp(localhost)/dbname
|
||||
|
||||
# Specifies the connection string for the postgres database, if PHOTOVIEW_DATABASE_DRIVER is set to 'postgres'
|
||||
# See https://www.postgresql.org/docs/current/libpq-ssl.html for possible ssl modes
|
||||
# PHOTOVIEW_POSTGRES_URL=postgres://user:password@host:port/dbname?sslmode=(disable|allow|...)
|
||||
|
||||
PHOTOVIEW_LISTEN_IP=0.0.0.0
|
||||
PHOTOVIEW_LISTEN_PORT=4001
|
||||
|
||||
# Path where media should be cached, defaults to ./media_cache
|
||||
# PHOTOVIEW_MEDIA_CACHE=./media_cache
|
||||
|
||||
# Set to 1 for the server to also serve the built static ui files
|
||||
PHOTOVIEW_SERVE_UI=0
|
||||
|
||||
# Enter a valid mapbox token, to enable maps feature
|
||||
# A token can be created for free at https://mapbox.com
|
||||
#MAPBOX_TOKEN=<insert mapbox token here>
|
||||
|
||||
# Set to 1 to set server in development mode, this enables graphql playground
|
||||
# Remove this if running in production
|
||||
PHOTOVIEW_DEVELOPMENT_MODE=1
|
||||
|
||||
# Set the hardware acceleration when encoding videos.
|
||||
# Support `qsv`, `vaapi`, `nvenc`.
|
||||
# Only `qsv` is verified with `/dev/dri//dev/dri` devices.
|
||||
# PHOTOVIEW_VIDEO_HARDWARE_ACCELERATION=
|
||||
Reference in New Issue
Block a user