Skip to content

Multiple apps with Docker #270

Answered by rennokki
dv336699 asked this question in Q&A
Discussion options

You must be logged in to vote

With the environment variables, it's not possible. But you can define a configuration file:

{
    "appManager.array.apps": [
        { "id": ... },
        { "id: ... }
    ]
}
soketi start --config=/path/to/config.json

The app object looks like this:

export interface AppInterface {
    id: string;
    key: string;
    secret: string;
    maxConnections: string|number;
    enableClientMessages: boolean;
    enabled: boolean;
    maxBackendEventsPerSecond?: string|number;
    maxClientEventsPerSecond: string|number;
    maxReadRequestsPerSecond?: string|number;
    webhooks?: WebhookInterface[];
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Luigidefra
Comment options

Answer selected by dv336699
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants