do we need the entrypoint and cmd
This commit is contained in:
@@ -20,7 +20,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: registry-ui
|
- name: registry-ui
|
||||||
image: "cr.lan/docker-registry-ui:arm64"
|
image: cr.lan/docker-registry-ui:arm64
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
#- name: URL
|
#- name: URL
|
||||||
|
|||||||
@@ -7,3 +7,7 @@ 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 /usr/local/bin/post-start.sh
|
COPY post-start.sh /usr/local/bin/post-start.sh
|
||||||
CMD chmod +x /usr/local/bin/post-start.sh
|
CMD chmod +x /usr/local/bin/post-start.sh
|
||||||
|
|
||||||
|
|
||||||
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
CMD ["%%CMD%%"]
|
||||||
@@ -23,8 +23,8 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
#image: cr.lan/nextcloud
|
image: cr.lan/nextcloud
|
||||||
image: docker.io/nextcloud:stable-apache
|
#image: docker.io/nextcloud:stable-apache
|
||||||
#lifecycle:
|
#lifecycle:
|
||||||
# postStart:
|
# postStart:
|
||||||
# exec:
|
# exec:
|
||||||
@@ -75,13 +75,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
|
||||||
|
|||||||
Reference in New Issue
Block a user