make firmware, it deploys that shit

This commit is contained in:
2021-05-12 16:13:57 +02:00
parent cc0b6f92dc
commit b6e45339f1
2 changed files with 13 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ FROM nextcloud:stable-apache
RUN touch /usr/src/nextcloud/data/.ocdata
COPY config.php /usr/src/nextcloud/config/
COPY post-start.sh /
#CMD chmod +x /post-start.sh
RUN chmod +x /post-start.sh
#ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -25,11 +25,11 @@ spec:
- name: nextcloud
image: cr.lan/nextcloud:latest
#image: docker.io/nextcloud:stable-apache
#lifecycle:
# postStart:
# exec:
# command:
# - /usr/local/bin/post-start.sh
lifecycle:
postStart:
exec:
command:
- /post-start.sh
env:
- name: TZ
value: "Europe/Berlin"
@@ -44,8 +44,6 @@ spec:
- name: NEXTCLOUD_TRUSTED_DOMAINS
value: nc nc.lan 172.23.255.1
- name: OBJECTSTORE_S3_HOST
# values: hdd-ebin01-ss-0-{0...2}.hdd-ebin01-hl.live-infra.svc.cluster.local
#value: hdd-ebin01-ss-0-0.hdd-ebin01-hl.live-infra.svc.cluster.local
value: minio.live-infra.svc.cluster.local
- name: OBJECTSTORE_S3_BUCKET
value: nextcloud
@@ -75,13 +73,13 @@ spec:
# httpGet:
# path: /
# port: http
#resources:
# requests:
# memory: "512Mi"
# cpu: "250m"
# limits:
# memory: "1000Mi"
# cpu: "1500m"
resources:
requests:
memory: "512Mi"
cpu: "250m"
limits:
memory: "1000Mi"
cpu: "1500m"
---
apiVersion: v1
kind: Service