Browse Source

Documented steps for deploying eFiling to prod

pull/170/head
Michael Olund 5 years ago
parent
commit
469c154249
4 changed files with 36 additions and 5 deletions
  1. +31
    -0
      openshift/EFILING-README.md
  2. +1
    -1
      openshift/templates/clamav/clamav-deploy.json
  3. +2
    -2
      openshift/templates/redis/redis-deploy.yaml
  4. +2
    -2
      vue/src/components/ItemTile.vue

+ 31
- 0
openshift/EFILING-README.md View File

@ -0,0 +1,31 @@
## Installing Redis:
Open eDivorce App (test) in The OpenShift Application Console
Select "Add to Project" from the top right corner, then "Import YAML/JSON"
Paste the Redis template from https://raw.githubusercontent.com/bcgov/eDivorce/master/openshift/templates/redis/redis-deploy.yaml and click Create, then check "Process the template"
(use the default parameters unless you want to change the memory or storage allocation)
## Repeat for ClamAV:
https://raw.githubusercontent.com/bcgov/eDivorce/master/openshift/templates/clamav/clamav-deploy.json
## Adding new Environment variabales:
Go to "Applications" => Deployments => edivorce-django
Select the "Environment" tab.
Add 2 new environment variables:
REDIS_HOST=redis
CLAMAV_TCP_ADDR=clamav
Click "Add Value from Config Map or Secret"
name = REDIS_PASSWORD
select a resource = "redis"
select key = "database-password"

+ 1
- 1
openshift/templates/clamav/clamav-deploy.json View File

@ -150,7 +150,7 @@
"description": "The TAG name for this environment, e.g., dev, test, prod",
"displayName": "Env TAG name",
"name": "TAG_NAME",
"value": "dev",
"value": "latest",
"required": true
}
]

+ 2
- 2
openshift/templates/redis/redis-deploy.yaml View File

@ -143,7 +143,7 @@ parameters:
displayName: Memory Limit
name: MEMORY_LIMIT
required: true
value: 512Mi
value: 1Gi
- description: The OpenShift Namespace where the ImageStream resides.
displayName: Namespace
name: NAMESPACE
@ -163,7 +163,7 @@ parameters:
displayName: Volume Capacity
name: VOLUME_CAPACITY
required: true
value: 1Gi
value: 20Gi
- description: Version of Redis image to be used (3.2 or latest).
displayName: Version of Redis Image
name: REDIS_VERSION


+ 2
- 2
vue/src/components/ItemTile.vue View File

@ -122,9 +122,9 @@ export default {
font-family: FontAwesome;
content: "\f06e";
position: absolute;
left: 52px;
left: 58px;
top: 65px;
font-size: 58px;
font-size: 43px;
color: transparent;
}


Loading…
Cancel
Save