mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-17 00:22:40 +00:00
This commit is contained in:
parent
b66934c138
commit
505abbb385
|
@ -70,6 +70,8 @@ encryption_salt =
|
|||
environment variable ENCRYPTION_SALT is missing.
|
||||
"""
|
||||
|
||||
cute_gifs_dir = System.get_env("CUTE_GIFS_DIR", "data/uploads/cute-gifs/")
|
||||
|
||||
config :bonfire,
|
||||
# how many nested replies to show
|
||||
thread_default_max_depth: 7,
|
||||
|
@ -82,7 +84,11 @@ config :bonfire,
|
|||
show_debug_errors_in_dev: System.get_env("SHOW_DEBUG_IN_DEV"),
|
||||
encryption_salt: encryption_salt,
|
||||
signing_salt: signing_salt,
|
||||
root_path: File.cwd!()
|
||||
root_path: File.cwd!(),
|
||||
cute_gifs: [
|
||||
num: length(Path.wildcard(cute_gifs_dir <> "*.gif")),
|
||||
dir: cute_gifs_dir
|
||||
]
|
||||
|
||||
use_cowboy? = System.get_env("PLUG_SERVER") == "cowboy"
|
||||
|
||||
|
|
2
justfile
2
justfile
|
@ -178,7 +178,7 @@ dev-profile-iex profile:
|
|||
docker compose --profile $profile exec web iex --sname extra --remsh localenv
|
||||
|
||||
dev-federate:
|
||||
FEDERATE=yes HOT_CODE_RELOAD=-1 HOSTNAME=$(just local-tunnel-hostname) PUBLIC_PORT=443 just dev
|
||||
FEDERATE=yes HOT_CODE_RELOAD=0 HOSTNAME=$(just local-tunnel-hostname) PUBLIC_PORT=443 just dev
|
||||
|
||||
dev-docker *args='': docker-stop-web
|
||||
docker compose $args run --name $WEB_CONTAINER --service-ports web
|
||||
|
|
Loading…
Reference in a new issue