Twake
⬅️ Go on twake
  • ☀️ Twake
  • Getting started
    • ▶️Use Twake on twake.app
    • 🏗️Install on your server
      • 🎡Scale with Twake
    • ⚙️Configuration
      • 🔒Security
      • 🔗Custom domain + HTTPS
        • Apache2 configuration
      • 💌Configure mail server
      • 🎨Customisation
      • 🔌Connectors and plugins
      • 👨‍💻 Authentication modes
        • Using Keycloak (LDAP, OpenID and more)
        • Installing Twake with LemonLDAP (LDAP, OpenID and more)
  • How to use it
    • 👋Welcome to Twake !
    • 🧰Console
      • Users
    • 🏢Company & workspace
      • Invite user from Chat
      • Rights
    • 💠Applications
      • 💬Chat
        • Channels
        • Message
      • 📂Drive
        • File and folder
        • Share file with public link
      • 📆Calendar
      • ✅Tasks
      • 🔃Connectors
        • n8n
    • 🖥️Desktop and mobile app
    • 🔒Privacy
  • Developers API
    • 🏠Home
    • 🥇Getting started
      • Create your first application
      • Authenticate with Postman
      • Send a message with your application
      • Trigger action from command
    • ⚙️Application settings
      • Api
      • Display
      • Privileges
      • Identity
    • 📖API Reference
      • Webhook
      • Drive
      • Message
        • DELETE Request
        • POST Request
      • Authentication
    • 🧱Blocks
  • Internal Documentation
    • 🥇Get started
    • 🎨Twake Ecosystem Guidelines
    • 📚Our stack
    • 🧱Backend and APIs
      • 🔑(WIP) Authentication
      • 👥Users and workspaces
      • 🍎Applications
        • Database models
        • REST APIs
      • 🎩Channels and tabs
        • Database models
      • 💬Messages
        • Database models
      • 📄Files
        • Database models
        • REST APIs
        • Resumable.js
      • 📲Notifications
        • Database models
      • 🛠️Twake service development
        • What is a service in Twake ?
        • Create a new service
        • Platform/Technical services
          • Database ORM platform service
    • 🖥️Web, desktop and mobile
      • Table
      • ObjectModal
        • ObjectModalTitle
        • ObjectModalSeparator
        • ObjectModalSectionTitle
        • ObjectModalFormTitle
      • UserListManager
      • MediumPopupManager
      • MenuManager
    • 🎭Translation
Powered by GitBook
On this page

Was this helpful?

  1. Getting started

Configuration

More details about Twake configuration.

PreviousScale with TwakeNextSecurity

Last updated 3 years ago

Was this helpful?

Detach the configuration and start using your own

Each configuration file is optional, if not given, Twake will fallback to default configuration.

Backend configuration

You can find an example of Twake configuration (default configuration) here:

Copy the content of this file and put it in [docker-compose.yml location]/configuration/backend/Parameters.php

Tip: you can put a 'cert' directory with apns.cert keys (mobile push notifications) beside the Parameters.php file.

Frontend configuration

You can find an example of Twake configuration (default configuration) here:

Copy the content of this file and put it in [docker-compose.yml location]/configuration/frontend/environment.ts

After a configuration change

Each time you change the configuration, restart your docker container like this:

docker-compose restart nginx node php
docker-compose exec nginx yarn build #If you have custom frontend configuration

Warning, if you are using ScyllaDB (mandatory for any version before 2022) you must make sure ScyllaDB is started before to start the node container.

If your server is completely stoped you can use this command to make sure everything starts well:

docker-compose up -d scylladb; sleep 120; docker-compose up -d

⚙️
https://github.com/TwakeApp/Twake/blob/main/twake/backend/core/app/Configuration/Parameters.php.dist
https://github.com/TwakeApp/Twake/blob/main/twake/frontend/src/app/environment/environment.ts.dist