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: Secret | |
metadata: | |
name: db1-secrets | |
type: Opaque | |
data: | |
ROOT_PASSWORD: c3VwZXItc2VjcmV0LXBhc3N3b3JkCg== | |
SITE1_USER_PASSWORD: cGFzc3dvcmQxMjMK | |
--- |
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
FROM wordpress | |
# Set environment variables used by the Wordpress image | |
# DB_USER and DB_PASSWORD are included as an example. However, | |
# these should be removed and set during docker run. | |
ENV WORDPRESS_DB_HOST=127.0.0.1 \ | |
WORDPRESS_DB_USER=wpuser \ | |
WORDPRESS_DB_PASSWORD=super-secret-password \ | |
WORDPRESS_DB_NAME=wpsite \ | |
WORDPRESS_TABLE_PREFIX=wp_ |
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.7" | |
services: | |
wordpress: | |
image: wordpress | |
ports: | |
- "80:80" | |
environment: | |
- WORDPRESS_DB_HOST=127.0.0.1 | |
- WORDPRESS_DB_USER=wpuser |
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: ServiceAccount | |
metadata: | |
name: traefik-ingress-controller | |
namespace: kube-system | |
--- | |
kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: |
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
--- | |
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
name: traefik-ingress-controller | |
rules: | |
- apiGroups: | |
- "" | |
resources: | |
- services |
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
class puppet-cron ( | |
String $git_repo = "git@github.com/serainville/example.git" | |
){ | |
// Let's make sure the Puppet daemon isn't running. | |
service { "puppet": | |
ensure => stopped, | |
enable => false, | |
} -> |
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
package main | |
import ( | |
"golang-cli/cmd" | |
) | |
func main() { | |
command.RootCmd.Execute() | |
} |
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
{ | |
key: "ed7dd2e5a373f90ccfd2ccb08d843a63", | |
value: [{ | |
username: "user1", | |
full_name: "John Doe", | |
user_id: "1234" | |
}] | |
} |
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
{ | |
key: "SELECT username,full_name,last_name,userid FROM users WHERE id=1234", | |
value: [{ | |
username: "user1", | |
full_name: "John Doe", | |
user_id: "1234" | |
}] | |
} |
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
global | |
log 127.0.0.1 local0 notice | |
maxconn 2000 | |
user haproxy | |
group haproxy | |
defaults | |
log global | |
mode http | |
option httplog |