Skip to content

Commit

Permalink
tech: Cleanup example config from prod elements (#4500)
Browse files Browse the repository at this point in the history
The example config should not contain elements such as URLs from our
production environment as people might simply copy the file without
changing some parts and end up making unnecessary requests to our
servers.
  • Loading branch information
taratatach authored Dec 10, 2024
2 parents 2d89420 + 148cfd9 commit 5700ab4
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions cozy.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ mail:
# mail noreply address - flags: --mail-noreply-address
noreply_address: noreply@localhost
noreply_name: My Cozy
reply_to: support@cozycloud.cc
reply_to: support@example.org
# mail smtp host - flags: --mail-host
host: smtp.home
# mail smtp port - flags: --mail-port
Expand Down Expand Up @@ -246,7 +246,7 @@ mail:
contexts:
beta:
# If the host is set to "-", no mail will be sent on this context
host: smtp.cozy.beta
host: smtp.example.org
port: 587
username: {{.Env.COZY_BETA_MAIL_USERNAME}}
password: {{.Env.COZY_BETA_MAIL_PASSWORD}}
Expand Down Expand Up @@ -285,7 +285,7 @@ campaign_mail:
contexts:
beta:
# If the host is set to "-", no mail will be sent on this context
host: smtp.cozy.beta
host: smtp.example.org
port: 587
username: {{.Env.COZY_BETA_MAIL_USERNAME}}
password: {{.Env.COZY_BETA_MAIL_PASSWORD}}
Expand Down Expand Up @@ -350,16 +350,16 @@ move:
# OnlyOffice server for collaborative edition of office documents
office:
default:
onlyoffice_url: https://documentserver.cozycloud.cc/
onlyoffice_url: https://documentserver.example.org/
onlyoffice_inbox_secret: inbox_secret
onlyoffice_outbox_secret: outbox_secret

# [internal usage] Cloudery configuration
clouderies:
default:
api:
url: https://manager.cozycloud.cc/
token: xxxxxx
# clouderies:
# default:
# api:
# url: https://manager.example.org/
# token: xxxxxx

# All the deprecated apps listed here will see their OAUTH2 Authorization
# flow interupted and redirected to a page proposing to move to the new
Expand All @@ -377,7 +377,7 @@ deprecated_apps:
# The list of authorized hosts to redirect to when using the authentication
# confirm endpoint.
authorized_hosts_for_confirm_auth:
- sometool.cozycloud.cc
- sometool.example.org

notifications:
# Activate development APIs (iOS only)
Expand All @@ -400,7 +400,7 @@ notifications:
contexts:
beta:
provider: api_sen
url: https://sms.cozy.beta/api/send
url: https://sms.example.org/api/send
token: {{.Env.COZY_BETA_SMS_TOKEN}}

flagship:
Expand Down Expand Up @@ -483,15 +483,15 @@ contexts:
# Allows to override the default template "Cozy" title by your own title
templates_title: "My Personal Cloud"
# Use a different noreply mail for this context
noreply_address: noreply@cozy.beta
noreply_address: noreply@example.org
noreply_name: My Cozy Beta
reply_to: support@cozy.beta
reply_to: support@example.org
# Configure the error page
support_address: support@cozy.beta
support_address: support@example.org
# Change the limit on the number of members for a sharing
max_members_per_sharing: 50
# Use a different wizard for moving a Cozy
move_url: https://move.cozy.beta/
move_url: https://move.example.org/
# Feature flags
features:
- hide_konnector_errors
Expand Down

0 comments on commit 5700ab4

Please sign in to comment.