You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
525 B
23 lines
525 B
5 months ago
|
## SN-HUB
|
||
|
|
||
|
部署 `docker-compose.yml`
|
||
|
|
||
|
```
|
||
|
version: "3.1"
|
||
|
|
||
|
services:
|
||
|
sn-hub:
|
||
|
# 按实际修改
|
||
|
image: qn-sn-hub:latest
|
||
|
container_name: sn-hub
|
||
|
restart: always
|
||
|
privileged: true
|
||
|
environment:
|
||
|
MONGODB_URI: mongodb://xxxx
|
||
|
REQUEST_IPS: xxxxxx
|
||
|
MYSQL_URL: jdbc:mysql://xxx:3306/xxx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&tinyInt1isBit=false&serverTimezone=Asia/Shanghai
|
||
|
MYSQL_USERNAME: xxx
|
||
|
MYSQL_PASSWORD: xxx
|
||
|
ports:
|
||
|
- "9093:9093"
|
||
|
```
|