.env
The .env file will be used to specify the general settings of the components used by the SeaTicket-docker instance and the environment variables required by each component.
SeaTicket Settings
| Variable |
Description |
Default Value |
SEATICKET_SERVER_PROTOCOL |
SeaTicket server protocol (http or https) |
http |
SEATICKET_SERVER_HOSTNAME |
Seafile server hostname or domain |
(required) |
JWT_PRIVATE_KEY |
JWT_PRIVATE_KEY, A random string with a length of no less than 32 characters is required for Seafile, which can be generated by using pwgen -s 40 1 |
(required) |
SeaDB settings
| Variable |
Description |
Default Value |
SEADB_SERVER_URL |
SeaDB server URL |
http://seadb |
SEADB_SERVER_ACCESS_TOEKN |
Access token for SeaDB server |
(required) |
SeaSearch Settings
| Variable |
Description |
Default Value |
SEASEARCH_URL |
Your SeaSearch server API endpoint url, e.g., http://<your seasearch host>:4080 |
(required) |
SEASEARCH_TOKEN |
Your authorization token for accessing SeaSearch API, which can be constructed in echo -n '<your_seasearch_username>:<your_seasearch_password>' | base64 |
(required) |
Mysql Settings
| Variable |
Description |
Default Value |
SEAQA_MYSQL_DB_HOST |
The host of MySQL server |
(required) |
SEAQA_MYSQL_DB_PORT |
The port of MySQL server |
3306 |
SEAQA_MYSQL_DB_USER |
The user for accessing MySQL server |
seaticket |
SEAQA_MYSQL_DB_PASSWORD |
The password of MySQL server |
(none) |
Redis Settings
| Variable |
Description |
Default Value |
REDIS_HOST |
The host of Redis server |
(required) |
REDIS_PORT |
The port of Redis server |
6379 |
REDIS_PASSWORD |
The password of Redis server |
(none) |
S3 Settings
| Variable |
Description |
Default Value |
S3_HOST |
S3 storage backend API endpoint URL (e.g., https://s3-endpoint.example.com. For AWS S3, the S3_HOST can be set from https://s3.<region>.amazonaws.com) |
(required) |
S3_KEY_ID |
S3 storage backend key ID |
(required) |
S3_SECRET_KEY |
S3 storage backend secret key |
(required) |
S3_FILE_BUCKET |
Name of the bucket for saving upload files |
(required) |
S3_WEB_CRAWL_BUCKET |
Name of the bucket for saving web-crawl data |
(required) |
Advanced system systems
| Variable |
Description |
Default Value |
SEAQA_LOG_TO_STDOUT |
Record logs to container standard output |
false |
TIME_ZONE |
Timezone of SeaTicket server |
UTC |