Add Ghost Template

This commit is contained in:
galal-hussein
2016-04-01 02:13:15 +02:00
parent a45179fa86
commit 3090f0c7ea
8 changed files with 172 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
apiVersion: v1
kind: Pod
metadata:
name: ghost
labels:
name: ghost
app: ghost
spec:
restartPolicy: Always
containers:
- image: "husseingalal/ghost"
name: "ghost"
ports:
- containerPort: 2368
name: ghost
env:
- name: GHOST_USER
value: ${ghost_db_user}
- name: GHOST_PASSWORD
value: ${ghost_db_pass}
- name: GHOST_DB
value: ${ghost_db}
- name: GHOST_URL
value: ${ghost_url}
volumeMounts:
- name: "ghost-ephemeral-storage"
mountPath: /var/lib/ghost
volumes:
- name: "ghost-ephemeral-storage"
emptyDir: {}