Set up libretranslate for kosmos.social
This commit is contained in:
@@ -35,6 +35,9 @@ SMTP_FROM_ADDRESS=<%= @smtp_from_address %>
|
||||
# Serve static files (to nginx proxy)
|
||||
RAILS_SERVE_STATIC_FILES=true
|
||||
|
||||
# Private addresses/subnets to allow outgoing HTTP requests to
|
||||
ALLOWED_PRIVATE_ADDRESSES=<%= @allowed_private_addresses %>
|
||||
|
||||
<% if @s3_endpoint %>
|
||||
# S3 (optional)
|
||||
S3_ENABLED=true
|
||||
@@ -46,6 +49,14 @@ AWS_ACCESS_KEY_ID=<%= @aws_access_key_id %>
|
||||
AWS_SECRET_ACCESS_KEY=<%= @aws_secret_access_key %>
|
||||
<% end %>
|
||||
|
||||
# locale
|
||||
DEFAULT_LOCALE=<%= @default_locale %>
|
||||
|
||||
<% if @libre_translate_endpoint %>
|
||||
# translate
|
||||
LIBRE_TRANSLATE_ENDPOINT=<%= @libre_translate_endpoint %>
|
||||
<% end %>
|
||||
|
||||
# Optional alias for S3 if you want to use Cloudfront or Cloudflare in front
|
||||
# S3_CLOUDFRONT_HOST=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user