mirror of
https://github.com/teamspeak/teamspeak6-server.git
synced 2026-09-06 22:04:06 +08:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74dd2396c9 | ||
|
|
9fa5ed8623 |
@@ -32,14 +32,15 @@ This document provides a detailed list of frequently used command-line parameter
|
|||||||
#### Database
|
#### Database
|
||||||
|
|
||||||
| Parameter | Environment Variable | Description |
|
| Parameter | Environment Variable | Description |
|
||||||
|----------------------------------|--------------------------------|-----------------------------------------------------------------------------|
|
|----------------------------------|------------------------------------|----------------------------------------------------------------------------------------|
|
||||||
| `--db-plugin <plugin>` | `TSSERVER_DATABASE_PLUGIN` | Specifies the database plugin to use (e.g., `sqlite3`, `mariadb`). |
|
| `--db-plugin <plugin>` | `TSSERVER_DATABASE_PLUGIN` | Specifies the database plugin to use (e.g., `sqlite3`, `mariadb`). |
|
||||||
| `--db-host <host>` | `TSSERVER_DATABASE_HOST` | The hostname or IP address of your database server. |
|
| `--db-host <host>` | `TSSERVER_DATABASE_HOST` | The hostname or IP address of your database server. |
|
||||||
| `--db-port <port>` | `TSSERVER_DATABASE_PORT` | The port used to connect to your database server. |
|
| `--db-port <port>` | `TSSERVER_DATABASE_PORT` | The port used to connect to your database server. |
|
||||||
| `--db-name <name>` | `TSSERVER_DATABASE_NAME` | The name of the database to use. |
|
| `--db-name <name>` | `TSSERVER_DATABASE_NAME` | The name of the database to use. |
|
||||||
| `--db-username <user>` | `TSSERVER_DATABASE_USERNAME` | The username for database authentication. |
|
| `--db-username <user>` | `TSSERVER_DATABASE_USERNAME` | The username for database authentication. |
|
||||||
| `--db-password <pass>` | `TSSERVER_DATABASE_PASSWORD` | The password for database authentication. |
|
| `--db-password <pass>` | `TSSERVER_DATABASE_PASSWORD` | The password for database authentication. |
|
||||||
| `--db-connections <num>` | `TSSERVER_DATABASE_CONNECTIONS`| Number of connections to establish to the database (Default: 10). |
|
| `--db-connections <num>` | `TSSERVER_DATABASE_CONNECTIONS` | Number of connections to establish to the database (Default: 10). |
|
||||||
|
| `--db-sql-create-path <path>` | `TSSERVER_DATABASE_SQL_CREATE_PATH`| The path for the database creation scripts (e.g., `create_mariadb`, `create_sqlite`). |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -216,7 +217,7 @@ server:
|
|||||||
- **Environment Variable:** `TSSERVER_DATABASE_SQL_PATH`
|
- **Environment Variable:** `TSSERVER_DATABASE_SQL_PATH`
|
||||||
|
|
||||||
- **`--db-sql-create-path [create_sqlite]`**
|
- **`--db-sql-create-path [create_sqlite]`**
|
||||||
- Path relative to the `--sql-path` where to load the database creation scripts from.
|
- Path relative to the `--sql-path` where to load the database creation scripts from. Valid values are `create_mariadb` or `create_sqlite`.
|
||||||
- **Environment Variable:** `TSSERVER_DATABASE_SQL_CREATE_PATH`
|
- **Environment Variable:** `TSSERVER_DATABASE_SQL_CREATE_PATH`
|
||||||
|
|
||||||
- **`--db-client-keep-days [30]`**
|
- **`--db-client-keep-days [30]`**
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ This is the best practice for a server you intend to keep running. Create a dock
|
|||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
teamspeak:
|
teamspeak:
|
||||||
image: teamspeaksystems/teamspeak6-server:v6.0.0-beta2
|
image: teamspeaksystems/teamspeak6-server:latest
|
||||||
container_name: teamspeak-server
|
container_name: teamspeak-server
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -17,10 +17,10 @@ services:
|
|||||||
# - TSSERVER_QUERY_HTTP_ENABLED=true
|
# - TSSERVER_QUERY_HTTP_ENABLED=true
|
||||||
# - TSSERVER_QUERY_SSH_ENABLED=false
|
# - TSSERVER_QUERY_SSH_ENABLED=false
|
||||||
# - TSSERVER_MACHINE_ID=my_unique_machine_id
|
# - TSSERVER_MACHINE_ID=my_unique_machine_id
|
||||||
# - TSSERVER_LOG_PATH=/var/ts3server/logs
|
# - TSSERVER_LOG_PATH=/var/tsserver/logs
|
||||||
# - TSSERVER_QUERY_ADMIN_PASSWORD=secretpassword
|
# - TSSERVER_QUERY_ADMIN_PASSWORD=secretpassword
|
||||||
volumes:
|
volumes:
|
||||||
- tsserver-data:/var/ts3server
|
- tsserver-data:/var/tsserver
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
tsserver-data:
|
tsserver-data:
|
||||||
|
|||||||
Reference in New Issue
Block a user