This file contains 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 | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOzf3cFl33wdzhYYyLDrqpbsM30p9pS4K0GQsEBS+zGjtcCc7WgGumVxKKSkqpvO9JRsdIRShfk2XffQ25qX+BVSQwefHGr0ny17zfdXK+3jjofyYTH9yI7pHO0L/xTjpM+Bo2hAcN+TSCYYwPyx7RUFYCWTxlc1CMR+6Q65QTLXnAMth7qihZ5tradq3ZODooFBu44VMUpMEoMnYGtHiGLu7z92WuuodLptaZ/d5LfflIbrw5fiR9Kr77mhnYAi1s7bNZde6Imfa7V2MnrTJfncQvOJd7XV3xEgGWIwaFyOS35FrK7EvbzqzU6pPcR9pYLo/0JmkK8Y6gSoCJxUVJ root@srv2 | |
final_message: "The system is finally up, after $UPTIME seconds" |
This file contains 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
apiVersion: v1 | |
items: | |
- apiVersion: v1 | |
kind: Pod | |
metadata: | |
annotations: | |
cni.projectcalico.org/podIP: 10.42.0.3/32 | |
creationTimestamp: "2020-04-10T10:10:17Z" | |
generateName: default-http-backend-97bf46cd4- | |
labels: |
This file contains 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
apiVersion: v1 | |
kind: Service | |
metadata: | |
annotations: | |
kubectl.kubernetes.io/last-applied-configuration: | | |
{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"app":"default-http-backend"},"name":"default-http-backend","namespace":"ingress-nginx"},"spec":{"ports":[{"port":80,"targetPort":8080}],"selector":{"app":"default-http-backend"}}} | |
creationTimestamp: "2020-04-10T10:10:18Z" | |
labels: | |
app: default-http-backend | |
name: default-http-backend |
This file contains 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
apt install curl -y | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sh get-docker.sh |
This file contains 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.3" | |
networks: | |
traefik: | |
external: true | |
services: | |
traefik: | |
image: "traefik:v2.2" | |
networks: |
This file contains 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.3" | |
networks: | |
traefik: | |
external: true | |
services: | |
traefik: | |
image: "traefik:v2.2" |
This file contains 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: | |
mongo1: | |
image: mongo:4.2 | |
command: mongod --replSet rs1 --noauth --oplogSize 3 | |
ports: | |
- 27017:27017 | |
environment: | |
TERM: xterm |
This file contains 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: | |
pritunl: | |
image: 'jippi/pritunl:latest' | |
privileged: true | |
ports: | |
- '1194:1194/udp' | |
- '1194:1194/tcp' | |
networks: |
This file contains 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.3" | |
networks: | |
traefik: | |
external: true | |
mongodb_mongo: | |
external: true | |
services: | |
foodtime-service: |
This file contains 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
auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
auto eth1 | |
iface eth1 inet dhcp | |
gateway 10.0.10.100 |
OlderNewer