forked from snikket-im/snikket-selfhosted
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snikket-podman.yml
62 lines (62 loc) · 1.33 KB
/
snikket-podman.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
apiVersion: v1
kind: ConfigMap
metadata:
name: env
data:
SNIKKET_DOMAIN: example.com
SNIKKET_ADMIN_EMAIL: [email protected]
SNIKKET_LETSENCRYPT_TOS_AGREE: Y
---
apiVersion: v1
kind: Pod
metadata:
name: snikket
labels:
io.containers.autoupdate: image
spec:
containers:
- name: proxy
image: docker.io/snikket/snikket-web-proxy:dev
envFrom:
- configMapRef:
name: env
optional: false
volumeMounts:
- name: data
mountPath: /snikket
- name: acme
mountPath: /var/www/html/.well-known/acme-challenge
- name: certs
image: docker.io/snikket/snikket-cert-manager:dev
envFrom:
- configMapRef:
name: env
optional: false
volumeMounts:
- name: data
mountPath: /snikket
- name: acme
mountPath: /var/www/.well-known/acme-challenge
- name: portal
image: docker.io/snikket/snikket-web-portal:dev
envFrom:
- configMapRef:
name: env
optional: false
- name: server
image: docker.io/snikket/snikket-server:dev
envFrom:
- configMapRef:
name: env
optional: false
volumeMounts:
- name: data
mountPath: /snikket
hostNetwork: true
volumes:
- name: data
PersistentVolumeClaim:
claimName: snikket-data
- name: acme
PersistentVolumeClaim:
claimName: snikket-acme