Compare commits
5 Commits
v0.0.7j-ld
...
v0.0.7n-em
Author | SHA1 | Date | |
---|---|---|---|
be47dbabd2 | |||
24d8892b4c | |||
2c828574ef | |||
a5f0d258a5 | |||
52b9f3af87 |
@ -36,4 +36,4 @@ s-web2 IN A 192.168.101.2
|
|||||||
s-lb.gsb.lan IN A 192.168.100.10
|
s-lb.gsb.lan IN A 192.168.100.10
|
||||||
ns IN CNAME s-infra.gsb.lan.
|
ns IN CNAME s-infra.gsb.lan.
|
||||||
wpad IN CNAME s-infra.gsb.lan.
|
wpad IN CNAME s-infra.gsb.lan.
|
||||||
peertube IN A 192.168.100.20
|
s-peertube IN A 192.168.100.20
|
||||||
|
@ -22,5 +22,5 @@
|
|||||||
command: "cp /root/tools/ansible/roles/fog/files/fogsettings /opt/fog/"
|
command: "cp /root/tools/ansible/roles/fog/files/fogsettings /opt/fog/"
|
||||||
|
|
||||||
- name: fichier fogsettings en .fogsettings
|
- name: fichier fogsettings en .fogsettings
|
||||||
command: "mv /opt/fog/fogsettings /opt/fog/.fogsettings"
|
command: "mv /opt/fog/fogsettings /opt/fog/.fogsettings"
|
||||||
|
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
|
MYHOST=s-peertube.gsb.lan;
|
||||||
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml;
|
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml;
|
||||||
helm upgrade --install ingress-nginx ingress-nginx \
|
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.cert -subj /CN="${MYHOST}"/O="${MYHOST}" -addext "subjectAltName = DNS:${MYHOST}";
|
||||||
--repo https://kubernetes.github.io/ingress-nginx \
|
kubectl create secret tls tls-peertube --key tls.key --cert tls.cert;
|
||||||
--namespace ingress-nginx --create-namespace;
|
|
||||||
sleep 15;
|
|
||||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ${KEY_FILE} -out ${CERT_FILE} -subj "/CN=${HOST}/O=${HOST}" -addext "subjectAltName = DNS:${HOST}";
|
|
||||||
kubectl create secret tls tls-peertube --key ${KEY_FILE} --cert ${CERT_FILE};
|
|
||||||
helm repo add postgresql https://charts.bitnami.com/bitnami;
|
helm repo add postgresql https://charts.bitnami.com/bitnami;
|
||||||
helm repo add redis https://charts.bitnami.com/bitnami;
|
helm repo add redis https://charts.bitnami.com/bitnami;
|
||||||
helm repo add mail https://bokysan.github.io/docker-postfix;
|
helm repo add mail https://bokysan.github.io/docker-postfix;
|
||||||
|
@ -101,8 +101,8 @@ ingress:
|
|||||||
enabled: true
|
enabled: true
|
||||||
className: ""
|
className: ""
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: nginx
|
kubernetes.io/ingress.class: traefik
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: 4G # this caps the size of imported videos, if set low this might prevent you from uploading videos
|
nginx.ingress.kubernetes.io/proxy-body-size: 6G # this caps the size of imported videos, if set low this might prevent you from uploading videos
|
||||||
# kubernetes.io/tls-acme: "true"
|
# kubernetes.io/tls-acme: "true"
|
||||||
hosts:
|
hosts:
|
||||||
- host: s-peertube.gsb.lan
|
- host: s-peertube.gsb.lan
|
||||||
|
@ -34,4 +34,4 @@ iface enp0s10 inet static
|
|||||||
allow-hotplug enp0s16
|
allow-hotplug enp0s16
|
||||||
iface enp0s16 inet static
|
iface enp0s16 inet static
|
||||||
address 172.16.0.254/24
|
address 172.16.0.254/24
|
||||||
|
post-up sleep 10 && systemctl restart isc-dhcp-server
|
||||||
|
Reference in New Issue
Block a user