webapp/.env

83 lines
2.6 KiB
Bash
Raw Normal View History

2023-12-04 19:28:33 +00:00
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=EDIT_ME
###< symfony/framework-bundle ###
2023-12-05 02:15:41 +00:00
2023-12-08 02:28:54 +00:00
APP_VERSION=1.2.2
2023-12-05 02:15:41 +00:00
APP_NAME=KevaChat
2023-12-06 19:50:47 +00:00
# Disable any activity and print the message
APP_MAINTENANCE=
2023-12-05 22:44:38 +00:00
# Connect memcached
APP_MEMCACHED_HOST=127.0.0.1
APP_MEMCACHED_PORT=11211
APP_MEMCACHED_TIMEOUT=3600
2023-12-05 22:44:38 +00:00
2023-12-05 02:15:41 +00:00
# Connect kevacoin
APP_KEVACOIN_PROTOCOL=http
APP_KEVACOIN_HOST=127.0.0.1
APP_KEVACOIN_PORT=9992
APP_KEVACOIN_USERNAME=EDIT_ME
APP_KEVACOIN_PASSWORD=EDIT_ME
# Share with other some mining pool to get coins
2023-12-05 15:27:24 +00:00
APP_KEVACOIN_MINE_POOL_URL=https://miningpoolstats.stream/kevacoin
APP_KEVACOIN_MINE_SOLO_URL=https://kevacoin.org/tutorial_solo_mining.html
2023-12-05 02:15:41 +00:00
2023-12-06 19:23:08 +00:00
# Explorer URL
APP_KEVACOIN_EXPLORER_URL=https://keva.one/explorer/address/
2023-12-05 15:36:26 +00:00
# Address to receive kevacoin powers (make others able to fill node balance)
2023-12-06 19:23:08 +00:00
APP_KEVACOIN_BOOST_ADDRESS=EDIT_ME
2023-12-05 15:36:26 +00:00
# Allowed room namespaces, separated with | (must be owned to accept posts)
APP_KEVACOIN_ROOM_NAMESPACES=EDIT_ME
2023-12-05 17:44:43 +00:00
# Allowed room namespaces for read only (e.g. project news) separated with |
APP_KEVACOIN_ROOM_NAMESPACES_READONLY=EDIT_ME
# Redirect from index page to default room
APP_KEVACOIN_ROOM_NAMESPACE_DEFAULT=EDIT_ME
2023-12-06 19:50:47 +00:00
# Allow users to read external node rooms
2023-12-07 01:11:25 +00:00
APP_KEVACOIN_ROOM_NAMESPACES_EXTERNAL=
2023-12-06 03:02:11 +00:00
2023-12-07 22:27:30 +00:00
# Online session expiration timeout
APP_SESSION_ONLINE_TIMEOUT=900
2023-12-05 02:15:41 +00:00
# Allow remotes to create new rooms (namespaces)
APP_ADD_ROOM_REMOTE_IP_REGEX=/.*/
# Allow remotes to create new posts (submit key/values)
APP_ADD_POST_REMOTE_IP_REGEX=/.*/
# Time quota for remote publications by IP (seconds)
2023-12-05 20:42:02 +00:00
APP_ADD_POST_REMOTE_IP_DELAY=60
# Skip access limits for following IPs separated by |
APP_ADD_POST_REMOTE_IP_MODERATORS=
2023-12-05 22:44:38 +00:00
# Skip access limits for banned IPs separated by |
APP_ADD_POST_REMOTE_IP_DENIED=
2023-12-05 20:42:02 +00:00
# Post content rules (for kevacoin value)
2023-12-05 23:24:04 +00:00
APP_ADD_POST_VALUE_REGEX=/^[\w\s\:\.\,\'\"\/\!\?\@\#\%\(\)\[\]\+\-\*\$\%]{2,3072}$/ui