更新 README.md,调整 PWD 链接;在 Docker Compose 文件中添加名称字段

This commit is contained in:
严浩
2024-10-24 22:52:54 +08:00
parent 277031ada7
commit c1a35e8a4c
3 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# sything
[![Try in PWD](https://raw.githubusercontent.com/play-with-docker/stacks/master/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/yanhao98/docker-example/refs/heads/main/stacks/sything/docker-compose.yml)
[![Try in PWD](https://raw.githubusercontent.com/play-with-docker/stacks/master/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/yanhao98/docker-example/refs/heads/main/stacks/sything/docker-compose-pwd.yml)
```bash
wget https://raw.githubusercontent.com/yanhao98/docker-example/refs/heads/main/stacks/sything/docker-compose.yml && docker-compose up -d
```

View File

@ -1,4 +1,5 @@
---
name: st
x-common-configuration: &common-configuration
image: syncthing/syncthing
environment:

View File

@ -1,4 +1,5 @@
---
name: st
volumes:
st-sync-1-cfg:
st-sync-2-cfg: