webapp/.env

92 lines
2.9 KiB
Bash
Raw Permalink Normal View History

2023-12-04 21:28:33 +02: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 04:15:41 +02:00
2023-12-11 08:47:51 +02:00
APP_VERSION=1.5.4
2023-12-05 04:15:41 +02:00
APP_NAME=KevaChat
2023-12-06 21:50:47 +02:00
# Disable any activity and print the message
APP_MAINTENANCE=
2023-12-06 00:44:38 +02:00
# Connect memcached
APP_MEMCACHED_HOST=127.0.0.1
APP_MEMCACHED_PORT=11211
APP_MEMCACHED_TIMEOUT=3600
2023-12-06 00:44:38 +02:00
2023-12-05 04:15:41 +02: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 17:27:24 +02: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 04:15:41 +02:00
2023-12-06 21:23:08 +02:00
# Explorer URL
APP_KEVACOIN_EXPLORER_URL=https://keva.one/explorer/address/
2023-12-05 17:36:26 +02:00
# Address to receive kevacoin powers (make others able to fill node balance)
2023-12-06 21:23:08 +02:00
APP_KEVACOIN_BOOST_ADDRESS=EDIT_ME
2023-12-05 17:36:26 +02:00
2023-12-09 19:51:30 +02:00
# Pinned room namespaces, separated with |
2023-12-09 19:31:54 +02:00
APP_KEVACOIN_ROOM_NAMESPACES_PINNED=EDIT_ME
2023-12-05 17:36:26 +02:00
2023-12-05 19:44:43 +02:00
# Allowed room namespaces for read only (e.g. project news) separated with |
2023-12-09 19:31:54 +02:00
APP_KEVACOIN_ROOM_NAMESPACES_READONLY=
2023-12-05 19:44:43 +02:00
# Redirect from index page to default room
APP_KEVACOIN_ROOM_NAMESPACE_DEFAULT=EDIT_ME
2023-12-08 00:27:30 +02:00
# Online session expiration timeout
APP_SESSION_ONLINE_TIMEOUT=900
2023-12-09 21:12:42 +02:00
# Moderators IP with extra permissions, separated with |
APP_MODERATOR_REMOTE_IP=
2023-12-05 04:15:41 +02:00
# Allow remotes to create new rooms (namespaces)
APP_ADD_ROOM_REMOTE_IP_REGEX=/.*/
2023-12-09 21:12:42 +02:00
# Time quota delay for new room submit ability per IP (seconds)
APP_ADD_ROOM_REMOTE_IP_DELAY=86400
# Skip access limits for banned IPs separated by |
APP_ADD_ROOM_REMOTE_IP_DENIED=
2023-12-09 22:43:29 +02:00
# Room name rules (for kevacoin _KEVA_NS_, max length is 520)
2023-12-11 08:13:14 +02:00
APP_ADD_ROOM_KEVA_NS_VALUE_REGEX=/^[\w\s\._-]{2,64}$/ui
2023-12-09 21:12:42 +02:00
2023-12-05 04:15:41 +02:00
# Allow remotes to create new posts (submit key/values)
APP_ADD_POST_REMOTE_IP_REGEX=/.*/
2023-12-09 21:12:42 +02:00
# Time quota delay for post publications per IP (seconds)
2023-12-05 22:42:02 +02:00
APP_ADD_POST_REMOTE_IP_DELAY=60
2023-12-06 00:44:38 +02:00
# Skip access limits for banned IPs separated by |
APP_ADD_POST_REMOTE_IP_DENIED=
2023-12-09 19:51:30 +02:00
# Post ID rules (for kevacoin key) do not change to keep external KevaChat nodes compatibility
APP_ADD_POST_KEY_REGEX=/^([\d]+)@([A-z0-9\.\:\[\]]+)$/
2023-12-09 22:43:29 +02:00
# Post content rules (for kevacoin value, max length is 3072)
APP_ADD_POST_VALUE_REGEX=/.*/ui