Back to "docker 合成器"
This is a viewer only at the moment see the article on how this works.
To update the preview hit Ctrl-Alt-R (or ⌘-Alt-R on Mac) or Enter to refresh. The Save icon lets you save the markdown file to disk
This is a preview from the server running through my markdig pipeline
Docker
docker 合成器
Tuesday, 30 July 2024
Docker Compter 是一个定义和运行多@ - @ container Docker 应用程序的工具 . with Compte,}您使用 YAML 文件来配置您的应用程序@ I'Qs service\ @ MS K4_ 然后, 以一个单命令@ MPK6} 您创建并启动您配置的所有服务\ .}
此时此刻,我使用多克作曲在我的服务器上运行一些服务@. @%
- Mostlucid @-我的博客@(}这是这个#)
- Cloudflared - 一种通过隧道传送到我服务器的服务
- 监视器@-服务 检查我集装箱的更新情况 必要时重新启动
这里就是 docker-compose.yml 用于运行这些服务的文件@: @%
services:
mostlylucid:
image: scottgal/mostlylucid:latest
labels:
- "com.centurylinklabs.watchtower.enable=true"
cloudflared:
image: cloudflare/cloudflared:latest
command: tunnel --no-autoupdate run --token ${CLOUDFLARED_TOKEN}
env_file:
- .env
watchtower:
image: containrrr/watchtower
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_LABEL_ENABLE=true
command: --interval 300 # Check for updates every 300 seconds (5 minutes)