make firmware, it deploys that shit
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user