This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| agent: | |
| image: portainer/agent | |
| environment: | |
| # REQUIRED: Should be equal to the service name prefixed by "tasks." when | |
| # deployed inside an overlay network | |
| AGENT_CLUSTER_ADDR: tasks.agent | |
| # AGENT_PORT: 9001 | |
| # LOG_LEVEL: debug | |
| volumes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| agent: | |
| image: portainer/agent | |
| environment: | |
| # REQUIRED: Should be equal to the service name prefixed by "tasks." when | |
| # deployed inside an overlay network | |
| AGENT_CLUSTER_ADDR: tasks.agent | |
| # AGENT_PORT: 9001 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set-executionpolicy RemoteSigned -Force -EA 'SilentlyContinue';iex ((new-object net.webclient).DownloadString('http://192.168.1.37/resources/ agent/AgentInstallWindows.ps1')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum -y install epel-release | |
| yum -y install salt-minion | |
| sed -i "/#master:/c\master: 188.166.38.241" /etc/salt/minion | |
| systemctl enable salt-minion | |
| systemctl start salt-minion | |