2017-02-19 05:38:55 +00:00
|
|
|
# Single-node Teleport cluster called "one" (runs all 3 roles: proxy, auth and node)
|
|
|
|
teleport:
|
|
|
|
nodename: one
|
|
|
|
log:
|
|
|
|
output: /var/lib/teleport/teleport.log
|
|
|
|
severity: INFO
|
|
|
|
|
|
|
|
auth_service:
|
|
|
|
enabled: yes
|
|
|
|
cluster_name: one
|
|
|
|
tokens:
|
|
|
|
- "node,auth,proxy:xxx"
|
2017-02-25 06:04:59 +00:00
|
|
|
|
2017-02-24 05:45:13 +00:00
|
|
|
# to enable trusted clusters, execute `tctl auth export > data/two/two.ca` inside container "two-auth"
|
|
|
|
# and then uncomment this and restart container "one"
|
2017-02-25 06:04:59 +00:00
|
|
|
trusted_clusters:
|
|
|
|
- key_file: /root/go/src/github.com/gravitational/teleport/docker/data/two/two.ca
|
2017-02-19 05:38:55 +00:00
|
|
|
|
|
|
|
ssh_service:
|
|
|
|
enabled: yes
|
|
|
|
labels:
|
|
|
|
cluster: one
|
|
|
|
commands:
|
|
|
|
- name: kernel
|
|
|
|
command: [/bin/uname, -r]
|
|
|
|
period: 5m
|
|
|
|
|
|
|
|
proxy_service:
|
|
|
|
enabled: yes
|