mirror of
https://github.com/Zandercraft/TechnicFlux.git
synced 2026-10-30 04:49:20 +00:00
Add database and config file support.
This commit is contained in:
35
.env.example
Normal file
35
.env.example
Normal file
@@ -0,0 +1,35 @@
|
||||
# TechnicFlux Configuration File
|
||||
# For support: https://github.com/Zandercraft/TechnicFlux/
|
||||
# =========================================================
|
||||
# This is an example configuration file and is not active.
|
||||
# Copy and rename it to .env before starting TechnicFlux.
|
||||
# (Read the README.md file for more detailed instructions)
|
||||
|
||||
# (REQUIRED) The connection string for your MongoDB instance (including the database)
|
||||
# Ex. (No SSL): mongodb://myDatabaseUser:D1fficultP%40ssw0rd@127.0.0.1/myDatabaseName
|
||||
# Ex. (SSL): mongodb+srv://myDatabaseUser:D1fficultP%40ssw0rd@server.example.com/myDatabaseName
|
||||
# See https://www.mongodb.com/docs/manual/reference/connection-string/
|
||||
MONGODB_CONN_STRING="mongodb://localhost:27017/technicflux"
|
||||
|
||||
# (REQUIRED) Admin Username and Password
|
||||
# The username and password for the administrator account. CHANGE THIS!
|
||||
ADMIN_USER="flux"
|
||||
ADMIN_PASS="flux"
|
||||
|
||||
# (REQUIRED) The name of your TechnicFlux instance.
|
||||
NAME="A TechnicFlux Instance"
|
||||
|
||||
# (REQUIRED) The public hostname of the website (i.e. the full domain name without any path, http://, or https://)
|
||||
HOST="example.com"
|
||||
|
||||
# (REQUIRED) Solder API Key
|
||||
# 1. Go to https://www.technicpack.net/
|
||||
# 2. Sign into your account and navigate to My Profile
|
||||
# 3. Go to Solder Configuration and put your API key here
|
||||
# 4. Put your solder API URL (http[s]://example.com/api/) in and link it.
|
||||
API_KEY=""
|
||||
|
||||
# (Optional) Default Author Name (for custom files)
|
||||
# This is the name that will be pre-filled when you go to upload custom files for a modpack.
|
||||
# Unset behaviour: You will need to specify the author every time.
|
||||
AUTHOR_NAME="John Doe"
|
||||
Reference in New Issue
Block a user