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 RUN touch /usr/src/nextcloud/data/.ocdata
COPY config.php /usr/src/nextcloud/config/ COPY config.php /usr/src/nextcloud/config/
COPY post-start.sh / COPY post-start.sh /
#CMD chmod +x /post-start.sh RUN chmod +x /post-start.sh
#ENTRYPOINT ["/entrypoint.sh"] #ENTRYPOINT ["/entrypoint.sh"]

View File

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