Skip to content

Commit

Permalink
feat: add penpot.md/navidrome.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jun 22, 2023
1 parent bfd17a1 commit 4f4ff3b
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,14 @@ docker info

[在 docker 中搭建内网穿透服务器,带WEB管理](docs/nps/README.md)

### `Penpot`

[在 docker 中部署 Penpot](docs/penpot.md)

### `Navidrome`

[在 docker 中部署 Navidrome](docs/navidrome.md)

### `Humpback`

首先创建放持久化数据文件夹,`mkdir -p /opt/app/humpback-web`,里面存放持久化数据文件,会存储站点管理和分组信息,启动后请妥善保存。
Expand Down
44 changes: 44 additions & 0 deletions docs/navidrome.md
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
```
36 changes: 36 additions & 0 deletions docs/penpot.md
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
```
11 changes: 9 additions & 2 deletions docs/portainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ docker volume create portainer_data
Docker Standalone

```bash
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
docker run -d \
-p 8000:8000 \
-p 9000:9000 \
--name=portainer \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
portainer/portainer-ce
```

Docker Swarm

```bash
curl -L https://downloads.portainer.io/portainer-agent-stack.yml -o portainer-agent-stack.yml
curl -L https://downloads.portainer.io/ee2-18/portainer-agent-stack.yml -o portainer-agent-stack.yml
# 下载 https://downloads.portainer.io/portainer-agent-stack.yml
docker stack deploy -c portainer-agent-stack.yml portainer
```
Expand Down
2 changes: 2 additions & 0 deletions idoc.chapters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
- nps/README.md: NPS 内网穿透
- portainer.md: Portainer Docker 管理
- postgres.md: PostgreSQL 数据库
- penpot.md: Penpot 设计和原型
- navidrome.md: Navidrome 音乐服务器
- rancher.md: Rancher 容器管理平台
- redis.md: Redis 数据库
- rocket.chat/README.md: Rocket.Chat 聊天工具
Expand Down

0 comments on commit 4f4ff3b

Please sign in to comment.