Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Mar 27, 2024
1 parent 29f1074 commit c11aa96
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 126 deletions.
26 changes: 0 additions & 26 deletions apps/clamav/Notes.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,2 @@
# ClamAv

扫描方案:

```
docker exec -it clamav sh
clamscan -ri /scandir --log=myscan.log
```

myscan.log 为扫描结果,如果包含 Infected files 信息,表明系统有病毒。


## FAQ

#### ClamAV 容器没有访问宿主机文件的权限?

```
apk add sudo
sudo clamscan -r /scandir
```

#### clamscan 与 clamdscan 有什么区别?

Clamscan 比 Clamdscan 慢,因为必须启动该进程并为传递给它的每个文件重新加载病毒数据库。

#### 扫描显示 Infected files 但没有具体信息?

需通过 --log 参数将日志输出到文件,然后通过文件寻找
8 changes: 0 additions & 8 deletions apps/focalboard/Notes.md
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
# Notes

## FAQ

#### focalboard 有管理员吗?

首次注册的用户可以算是管理员,但是没有传统意义上的管理的诸多设置项,但是它可以邀请其他用户注册。(后续的用户需要通过邀请链接方可注册 )

管理员设置需要通过配置文件实现: https://www.focalboard.com/guide/admin/
1 change: 1 addition & 0 deletions apps/influxdb/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
influxdb:
image: $W9_REPO:$W9_VERSION
container_name: ${W9_ID}
command: --storage-wal-fsync-delay=15m
ports:
- '${W9_HTTP_PORT_SET}:8086'
env_file:
Expand Down
12 changes: 2 additions & 10 deletions apps/jupyterhub/Notes.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
## Jupyter

Install docs: https://tljh.jupyter.org/en/latest/

## FAQ

#### How to add user?

```
docker exec -it jupyterhub bash
adduser admin
```
Install docs: https://tljh.jupyter.org/en/latest/

We have add `pip install jupyterlab` at this container which is need for creating user: https://github.com/Websoft9/docker-library/issues/541
2 changes: 1 addition & 1 deletion apps/mautic/.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ W9_URL=""
# Mautic environments: https://github.com/mautic/docker-mautic

MAUTIC_RUN_CRON_JOBS=true
MAUTIC_TRUSTED_PROXIES=0.0.0.0/0
MAUTIC_TRUSTED_PROXIES=["0.0.0.0/0"]
MAUTIC_RUN_CRON_JOBS=
MAUTIC_CRON_HUBSPOT=
MAUTIC_CRON_SALESFORCE=
Expand Down
14 changes: 0 additions & 14 deletions apps/nextterminal/Notes.md
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
# Next Terminal

## User Guide

每个账户建议启用**双因素验证**,开启双因素验证之后,需要登录手机商店安装 Microsoft Authenticator 以作为后续登录的验证码生成工具。

## FAQ

#### 资产更换IP后无法连接?

使用其他ssh工具登录资产,清空 /root/.ssh/known_hosts

#### 堡垒机部署在香港,无法连接大陆地区的服务器?

暂无解决方案
20 changes: 19 additions & 1 deletion apps/palworld/.env
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
W9_DIST=community
W9_VERSION=latest
W9_REPO=thijsvanloef/palworld-server-docker
W9_POWER_PASSWORD=8dHZPFLFGoPXuC

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_ID=palworld
W9_UDP_PORT_SET=8211
W9_UDP2_PORT_SET=27015
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####

W9_LOGIN_ADMIN_PASSWORD=$W9_POWER_PASSWORD
#### --------------------------------------------------------------------------------------- ####

# Palword environments: https://github.com/thijsvanloef/palworld-server-docker/blob/main/.env.example

PUID=1000
PGID=1000
PORT=8211 # Optional but recommended
PLAYERS=16 # Optional but recommended
#SERVER_PASSWORD="worldofpals" # Optional but recommended
ADMIN_PASSWORD=$W9_POWER_PASSWORD
MULTITHREADING=true
RCON_ENABLED=true
RCON_PORT=25575
TZ=UTC
COMMUNITY=false # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
SERVER_NAME="World of Pals"
13 changes: 0 additions & 13 deletions apps/palworld/Notes.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,2 @@
## About

### 幻兽帕鲁私服使用说明:

1. 进入 Steam 游戏平台,选择 Palworld , 加入多人游戏(专用服务器)
![image](https://github.com/Websoft9/docker-library/assets/43192516/32a607c1-3ed9-4433-aaf5-716f9375528c)


2. 输入私服服务器IP:8211 即可进入游戏服务器
![image](https://github.com/Websoft9/docker-library/assets/43192516/577e50b3-5572-4758-9c6f-d3bf6b71d666)

3. 最大在线人数限制
- 2~4人:4核8G
- 4~8人:4核16G
- 10~20人:8核32G
26 changes: 0 additions & 26 deletions apps/palworld/README.md

This file was deleted.

17 changes: 3 additions & 14 deletions apps/palworld/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# imag: https://hub.docker.com/r/pasharp/pal_server
# image: https://hub.docker.com/r/thijsvanloef/palworld-server-docker
# docs: https://palworld-server-docker.loef.dev/

version: '3.8'

Expand All @@ -7,22 +8,10 @@ services:
image: $W9_REPO:$W9_VERSION
restart: unless-stopped
container_name: $W9_ID
stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop
ports:
- $W9_UDP_PORT_SET:8211/udp
- $W9_UDP2_PORT_SET:27015/udp
environment:
- PUID=1000
- PGID=1000
- PORT=8211 # Optional but recommended
#- PLAYERS=16 # Optional but recommended
#- SERVER_PASSWORD="worldofpals" # Optional but recommended
- MULTITHREADING=true
- RCON_ENABLED=true
- RCON_PORT=25575
- TZ=UTC
#- ADMIN_PASSWORD="adminPasswordHere"
- COMMUNITY=false # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
- SERVER_NAME="World of Pals"
volumes:
- palworld_data:/palworld/
env_file: .env
Expand Down
8 changes: 4 additions & 4 deletions apps/palworld/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
"name": "palworld",
"trademark": "Palworld",
"release": true,
"fork_url": "https://hub.docker.com/r/pasharp/pal_server",
"fork_url": "https://github.com/thijsvanloef/palworld-server-docker",
"edition": [
{
"dist": "community",
"version": [
"240125",
"v0.33",
"latest"
]
}
],
"requirements": {
"cpu": "4",
"memory": "16",
"disk": "20",
"url": "https://hub.docker.com/r/pasharp/pal_server"
"disk": "8",
"url": "https://github.com/thijsvanloef/palworld-server-docker"
}
}
9 changes: 0 additions & 9 deletions apps/syncthing/Notes.md
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
# Syncthing

## FAQ

#### 两个服务器终端如何实现文件夹同步?

主要通过3个步骤:
1. 添加文件夹,每个终端文件夹ID必须一样
2. 勾选共享
3. 添加远程设备使其配对成功

0 comments on commit c11aa96

Please sign in to comment.