mirror of
https://github.com/yanhao98/docker-example.git
synced 2025-07-13 04:00:47 +08:00
更新 README.md,调整 PWD 链接;在 Docker Compose 文件中添加名称字段
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
# sything
|
# sything
|
||||||
[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/yanhao98/docker-example/refs/heads/main/stacks/sything/docker-compose.yml)
|
[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/yanhao98/docker-example/refs/heads/main/stacks/sything/docker-compose-pwd.yml)
|
||||||
```bash
|
```bash
|
||||||
wget https://raw.githubusercontent.com/yanhao98/docker-example/refs/heads/main/stacks/sything/docker-compose.yml && docker-compose up -d
|
wget https://raw.githubusercontent.com/yanhao98/docker-example/refs/heads/main/stacks/sything/docker-compose.yml && docker-compose up -d
|
||||||
```
|
```
|
@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
name: st
|
||||||
x-common-configuration: &common-configuration
|
x-common-configuration: &common-configuration
|
||||||
image: syncthing/syncthing
|
image: syncthing/syncthing
|
||||||
environment:
|
environment:
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
name: st
|
||||||
volumes:
|
volumes:
|
||||||
st-sync-1-cfg:
|
st-sync-1-cfg:
|
||||||
st-sync-2-cfg:
|
st-sync-2-cfg:
|
||||||
|
Reference in New Issue
Block a user