do we need the entrypoint and cmd
This commit is contained in:
@@ -20,7 +20,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: registry-ui
|
||||
image: "cr.lan/docker-registry-ui:arm64"
|
||||
image: cr.lan/docker-registry-ui:arm64
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
#- name: URL
|
||||
|
||||
@@ -6,4 +6,8 @@ FROM nextcloud:stable-apache
|
||||
RUN touch /usr/src/nextcloud/data/.ocdata
|
||||
COPY config.php /usr/src/nextcloud/config/
|
||||
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:
|
||||
containers:
|
||||
- name: nextcloud
|
||||
#image: cr.lan/nextcloud
|
||||
image: docker.io/nextcloud:stable-apache
|
||||
image: cr.lan/nextcloud
|
||||
#image: docker.io/nextcloud:stable-apache
|
||||
#lifecycle:
|
||||
# postStart:
|
||||
# exec:
|
||||
@@ -75,13 +75,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