fix formatting

This commit is contained in:
De Ville Weppenaar
2021-02-08 10:15:50 -08:00
parent b1ca32bc8a
commit 438fd7ef0b
4 changed files with 80 additions and 71 deletions

View File

@@ -1,58 +1,67 @@
[
{
"name": "scim-bridge",
"image": "1password/scim:v1.6.1",
"cpu": 128,
"memory": 512,
"essential": true,
"dependsOn": [
{
"containerName": "redis",
"condition": "START"
}
],
"portMappings": [
{
"containerPort": 3002,
"hostPort": 3002
}
],
"environment": [
{ "name": "OP_REDIS_HOST", "value": "localhost" },
{ "name": "OP_LETSENCRYPT_DOMAIN", "value": "" }
],
"secrets": [
{"name": "OP_SESSION", "valueFrom": "${secret_arn}"}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group" : "${aws_logs_group}",
"awslogs-region": "${region}",
"awslogs-stream-prefix": "ecs-scim"
}
{
"name": "scim-bridge",
"image": "1password/scim:v1.6.1",
"cpu": 128,
"memory": 512,
"essential": true,
"dependsOn": [
{
"containerName": "redis",
"condition": "START"
}
],
"portMappings": [
{
"containerPort": 3002,
"hostPort": 3002
}
],
"environment": [
{
"name": "OP_REDIS_HOST",
"value": "localhost"
},
{
"name": "OP_LETSENCRYPT_DOMAIN",
"value": ""
}
],
"secrets": [
{
"name": "OP_SESSION",
"valueFrom": "${secret_arn}"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "${aws_logs_group}",
"awslogs-region": "${region}",
"awslogs-stream-prefix": "ecs-scim"
}
}
},
{
"name": "redis",
"image": "redis:latest",
"cpu": 128,
"memory": 256,
"essential": true,
"restart": "always",
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "${aws_logs_group}",
"awslogs-region": "${region}",
"awslogs-stream-prefix": "ecs-redis"
}
},
{
"name": "redis",
"image": "redis:latest",
"cpu": 128,
"memory": 256,
"essential": true,
"restart": "always",
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group" : "${aws_logs_group}",
"awslogs-region": "${region}",
"awslogs-stream-prefix": "ecs-redis"
}
},
"portMappings": [
{
"containerPort": 6379,
"hostPort": 6379
}
]
}
]
"portMappings": [
{
"containerPort": 6379,
"hostPort": 6379
}
]
}
]

View File

@@ -1,4 +1,4 @@
version: '2.2'
version: "2.2"
services:
scim:
image: 1password/scim:v1.6.1

View File

@@ -1,4 +1,4 @@
version: '3.3'
version: "3.3"
services:
scim:
image: 1password/scim:v1.6.1

View File

@@ -13,18 +13,18 @@ spec:
app: op-scim-bridge
spec:
containers:
- name: op-scim-bridge
image: 1password/scim:v1.6.1
ports:
- containerPort: 3002
volumeMounts:
- name: scimsession
mountPath: "/secret"
readOnly: false
envFrom:
- configMapRef:
name: op-scim-configmap
- name: op-scim-bridge
image: 1password/scim:v1.6.1
ports:
- containerPort: 3002
volumeMounts:
- name: scimsession
mountPath: "/secret"
readOnly: false
envFrom:
- configMapRef:
name: op-scim-configmap
volumes:
- name: scimsession
secret:
secretName: scimsession
- name: scimsession
secret:
secretName: scimsession