Skip to content

Commit d89e657

Browse files
authored
Merge pull request #520 from kubero-dev/temnplate/add-postiz
Template / Add Postiz
2 parents e50f4d1 + 1152788 commit d89e657

File tree

1 file changed

+125
-0
lines changed

1 file changed

+125
-0
lines changed

services/postiz/app.yaml

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
apiVersion: application.kubero.dev/v1alpha1
2+
kind: KuberoApp
3+
metadata:
4+
name: postiz
5+
annotations:
6+
kubero.dev/template.architecture: "[]"
7+
kubero.dev/template.description: "Schedule social media posts, measure them, exchange with other members and get a lot of help from AI"
8+
kubero.dev/template.icon: "https://raw.githubusercontent.com/gitroomhq/postiz-app/21eae29b52456cb98ba1b8dcd3ed504e344c0bec/apps/frontend/public/postiz.svg"
9+
kubero.dev/template.installation: ""
10+
kubero.dev/template.links: "[]"
11+
kubero.dev/template.screenshots: '["https://private-user-images.githubusercontent.com/100117126/363204406-a27ee220-beb7-4c7e-8c1b-2c44301f82ef.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzIxMDU4NDEsIm5iZiI6MTczMjEwNTU0MSwicGF0aCI6Ii8xMDAxMTcxMjYvMzYzMjA0NDA2LWEyN2VlMjIwLWJlYjctNGM3ZS04YzFiLTJjNDQzMDFmODJlZi5naWY_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMTIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTEyMFQxMjI1NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mMDI1NTI1YTM0NTBhZTEwZWRjNmMwNDdhMWQzMDdlZjNhNTdjMTdjYzM4YWVmOThjYmQyNDkwYjUzMGNlNGY0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.uqwvPkAVLFnwySvFdZp8IbQNGkLiM_w2_X3bB9ufz7E"]'
12+
kubero.dev/template.source: "https://github.com/gitroomhq/postiz-app"
13+
kubero.dev/template.tags: '["social", "tools"]'
14+
kubero.dev/template.title: "Postiz"
15+
kubero.dev/template.website: "https://postiz.com/"
16+
labels:
17+
manager: kubero
18+
spec:
19+
name: postiz
20+
deploymentstrategy: docker
21+
envVars:
22+
- name: MAIN_URL
23+
value: https://postiz.localhost
24+
- name: FRONTEND_URL
25+
value: https://postiz.localhost
26+
- name: JWT_SECRET
27+
value: random string that is unique to every install - just type random
28+
characters here!
29+
- name: DATABASE_URL
30+
value: postgresql://postiz:postiz@postiz-postgresql:5432/postiz
31+
- name: REDIS_URL
32+
value: redis://:postiz@postiz-redis-master:6379
33+
- name: IS_GENERAL
34+
value: "true"
35+
- name: STORAGE_PROVIDER
36+
value: local
37+
- name: UPLOAD_DIRECTORY
38+
value: /upload
39+
- name: NEXT_PUBLIC_UPLOAD_DIRECTORY
40+
value: /upload
41+
- name: NEXT_PUBLIC_BACKEND_URL
42+
value: https://postiz.localhost/api
43+
- name: BACKEND_INTERNAL_URL
44+
value: http://localhost:3000
45+
extraVolumes:
46+
- accessMode: ReadWriteOnce
47+
accessModes:
48+
- ReadWriteOnce
49+
emptyDir: false
50+
mountPath: /upload
51+
name: postiz-upload-volume
52+
size: 1Gi
53+
storageClass: standard
54+
- accessMode: ReadWriteOnce
55+
accessModes:
56+
- ReadWriteOnce
57+
emptyDir: false
58+
mountPath: /config
59+
name: postiz-config-volume
60+
size: 1Gi
61+
storageClass: standard
62+
cronjobs: []
63+
addons:
64+
- displayName: Postgresql
65+
env: []
66+
icon: /img/addons/pgsql.svg
67+
id: kubero-operator
68+
kind: KuberoPostgresql
69+
resourceDefinitions:
70+
KuberoPostgresql:
71+
apiVersion: application.kubero.dev/v1alpha1
72+
kind: KuberoPostgresql
73+
metadata:
74+
name: postiz-postgresql
75+
spec:
76+
postgresql:
77+
global:
78+
postgresql:
79+
auth:
80+
database: postgresql
81+
password: postiz
82+
postgresPassword: postiz
83+
username: postiz
84+
storageClass: standard
85+
primary:
86+
persistence:
87+
size: 1Gi
88+
version:
89+
latest: 0.1.5
90+
- displayName: Redis
91+
env: []
92+
icon: /img/addons/redis.svg
93+
id: kubero-operator
94+
kind: KuberoRedis
95+
resourceDefinitions:
96+
KuberoRedis:
97+
apiVersion: application.kubero.dev/v1alpha1
98+
kind: KuberoRedis
99+
metadata:
100+
name: postiz-redis
101+
spec:
102+
redis:
103+
architecture: replication
104+
global:
105+
redis:
106+
password: postiz
107+
storageClass: standard
108+
master:
109+
persistence:
110+
size: 1Gi
111+
replica:
112+
persistence:
113+
size: 1Gi
114+
replicaCount: 1
115+
version:
116+
latest: 0.1.5
117+
web:
118+
replicaCount: 1
119+
worker:
120+
replicaCount: 0
121+
image:
122+
containerPort: "5000"
123+
pullPolicy: Always
124+
repository: ghcr.io/gitroomhq/postiz-app
125+
tag: latest

0 commit comments

Comments
 (0)