mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 05:31:04 +03:30
feat: redirect to .com
This commit is contained in:
+11
@@ -84,6 +84,17 @@ steps:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
|
||||
image_pull_secrets:
|
||||
- regcred
|
||||
|
||||
---
|
||||
kind: secret
|
||||
name: regcred
|
||||
get:
|
||||
path: regcred
|
||||
name: .dockerconfigjson
|
||||
|
||||
---
|
||||
kind: secret
|
||||
name: registry_token
|
||||
|
||||
@@ -281,6 +281,53 @@ deployment:
|
||||
# name: https
|
||||
# protocol: TCP
|
||||
|
||||
worker:
|
||||
enabled: false
|
||||
|
||||
# Additional labels for Deployment worker
|
||||
additionalLabels:
|
||||
# key: value
|
||||
|
||||
# Annotations on deployments worker
|
||||
annotations:
|
||||
|
||||
# Replicas to be created worker
|
||||
replicas: 1
|
||||
|
||||
# By default deploymentStrategy is set to rollingUpdate with maxSurge of 25% and maxUnavailable of 25%
|
||||
# You can change type to `Recreate` or can uncomment `rollingUpdate` specification and adjust them to your usage.
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
# rollingUpdate:
|
||||
# maxSurge: 25%
|
||||
# maxUnavailable: 25%
|
||||
|
||||
# Additional label added on pod which is used in Service's Label Selector
|
||||
podLabels:
|
||||
# env: prod
|
||||
|
||||
image: docker.willaspace.com/repository/docker-hosted/external-projects/cssd-back:latest
|
||||
command:
|
||||
- /usr/bin/supervisord
|
||||
- -n
|
||||
- -c
|
||||
- /var/www/html/worker.conf
|
||||
args:
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: balout-production-back-configmap
|
||||
- secretRef:
|
||||
name: balout-production-back-secret
|
||||
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
cpu: 1
|
||||
requests:
|
||||
memory: 1Gi
|
||||
cpu: 1
|
||||
|
||||
|
||||
##########################################################
|
||||
# Add Storage volumes to the pods
|
||||
##########################################################
|
||||
@@ -345,6 +392,7 @@ ingress:
|
||||
# List of host addresses to be exposed by this Ingress
|
||||
hosts:
|
||||
- host: cssd-doc.ir
|
||||
- host: cssd-doc.com
|
||||
# Additional labels for this Ingress
|
||||
additionalLabels:
|
||||
|
||||
@@ -360,6 +408,9 @@ ingress:
|
||||
- secretName: cssd-doc-ir-certificate
|
||||
hosts:
|
||||
- cssd-doc.ir
|
||||
- secretName: cssd-doc-com-certificate
|
||||
hosts:
|
||||
- cssd-doc.com
|
||||
|
||||
##########################################################
|
||||
# Route object for exposing services (OpenShift)
|
||||
@@ -520,6 +571,15 @@ configMap:
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name cssd-doc.ir www.cssd-doc.ir;
|
||||
|
||||
return 301 https://cssd-doc.com$request_uri;
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name cssd-doc.com www.cssd-doc.com;
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
+10
-1
@@ -66,5 +66,14 @@
|
||||
"post-create-project-cmd": [
|
||||
"@php artisan key:generate --ansi"
|
||||
]
|
||||
}
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"type": "composer",
|
||||
"url": "https://repo.willaspace.com/repository/composer-remote/"
|
||||
},
|
||||
{
|
||||
"packagist.org": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user