-
-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bfd17a1
commit 4f4ff3b
Showing
5 changed files
with
99 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Navidrome | ||
=== | ||
|
||
现代音乐服务器和流媒体兼容 Subsonic/Airsonic | ||
|
||
## 使用 `docker-compose` | ||
|
||
创建包含以下内容的 `docker-compose.yml` 文件(或将下面的 navidrome 服务添加到现有文件中): | ||
|
||
```yml | ||
version: "3" | ||
services: | ||
navidrome: | ||
image: deluan/navidrome:latest | ||
user: 1000:1000 # should be owner of volumes | ||
ports: | ||
- "4533:4533" | ||
restart: unless-stopped | ||
environment: | ||
# Optional: put your config options customization here. Examples: | ||
ND_SCANSCHEDULE: 1h | ||
ND_LOGLEVEL: info | ||
ND_SESSIONTIMEOUT: 24h | ||
ND_BASEURL: "" | ||
volumes: | ||
- "/path/to/data:/data" | ||
- "/path/to/your/music/folder:/music:ro" | ||
``` | ||
使用 `docker-compose up -d` 启动它。 请注意,上面的环境变量只是一个示例,不是必需的。 示例中的值已经是默认值 | ||
|
||
## 使用docker命令行工具 | ||
|
||
```bash | ||
$ docker run -d \ | ||
--name navidrome \ | ||
--restart=unless-stopped \ | ||
--user $(id -u):$(id -g) \ | ||
-v /path/to/music:/music \ | ||
-v /path/to/data:/data \ | ||
-p 4533:4533 \ | ||
-e ND_LOGLEVEL=info \ | ||
deluan/navidrome:latest | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Penpot | ||
=== | ||
|
||
开源设计和原型平台 | ||
|
||
## 启动 `Penpot` | ||
|
||
第一步,您需要获取 `docker-compose.yaml` 文件。 您可以从 [`Penpot`](https://raw.githubusercontent.com/penpot/penpot/main/docker/images/docker-compose.yaml) 存储库下载它。 | ||
|
||
```bash | ||
wget https://raw.githubusercontent.com/penpot/penpot/main/docker/images/docker-compose.yaml | ||
``` | ||
|
||
or | ||
|
||
```bash | ||
curl -o docker-compose.yaml https://raw.githubusercontent.com/penpot/penpot/main/docker/images/docker-compose.yaml | ||
``` | ||
|
||
然后只需启动 `Penpot`: | ||
|
||
|
||
```bash | ||
docker compose -p penpot -f docker-compose.yaml up -d | ||
``` | ||
|
||
最后它将开始监听 http://localhost:9001 | ||
|
||
|
||
## 停止 `Penpot` | ||
|
||
如果你想停止运行 Penpot,只需输入 | ||
|
||
```bash | ||
docker compose -p penpot -f docker-compose.yaml down | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters