Created
January 20, 2018 23:12
-
-
Save denniswebb/0f107937347566f319179ffd2b3af727 to your computer and use it in GitHub Desktop.
userdata for single host RancherOS
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
#cloud-config | |
hostname: rancher-ergon | |
rancher: | |
console: debian | |
services: | |
rancher-server: | |
image: rancher/server | |
command: --db-host mysql.denniswebb.info | |
restart: always | |
ports: | |
- 8080:8080 | |
rancher-agent1: | |
image: rancher/agent | |
command: http://127.0.0.1:8080/v1/projects/1a5/scripts/<token> | |
privileged: true | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment