Skip to content

Instantly share code, notes, and snippets.

View Kaijun's full-sized avatar
🎯
Focusing

Kaijun Chen Kaijun

🎯
Focusing
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>Add</key>
<array>
<dict>
<key>Comment</key>
@Kaijun
Kaijun / variables
Last active March 29, 2019 07:46
simple app template
apiVersion: v1
kind: ConfigMap
metadata:
name: wp-config-{{.Release.Name}}
data:
mysql_root_password: {{.Values.mysqlPassword}}
wordpress_db_password: {{.Values.wordpressPassword}}
---
export OS_USERNAME=admin
export OS_PASSWORD=keadmin
export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_DOMAIN_NAME=default
export OS_AUTH_URL=http://127.0.0.1:8357/v3
export OS_IDENTITY_API_VERSION=3
openstack service create --name registry ke-service
openstack service create --name helm-registry ke-service
$ sudo vim /etc/systemd/system/docker-compose.service
[Unit]
Description=DockerCompose
After=docker.service
Requires=docker.service
[Service]
ExecStart=/opt/bin/docker-compose -f /home/core/docker-compose.yml up -d