Agent only
准备工作
创建配置文件
| portainer-stack.yml | |
|---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | |
部署运行
设置 AGENT_SECRET 变量 : 当 Portainer 和 Agent 此变量值不同时拒绝连接
加入 proxy 网络 : 为使用 Traefik 代理 Portainer 做准备
| Bash | |
|---|---|
1 2 3 | |
创建配置文件
| portainer-stack.yml | |
|---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | |
设置 AGENT_SECRET 变量 : 当 Portainer 和 Agent 此变量值不同时拒绝连接
加入 proxy 网络 : 为使用 Traefik 代理 Portainer 做准备
| Bash | |
|---|---|
1 2 3 | |