Merge branch 'aims' into acs-aims
This commit is contained in:
commit
25d0633fdb
1
.env
1
.env
@ -5,3 +5,4 @@ ALFRESCO_LICENSE_DIR=${ALFRESCO_DIR}/license
|
|||||||
PROXY_PROTOCOL=http
|
PROXY_PROTOCOL=http
|
||||||
PROXY_HOST=localhost
|
PROXY_HOST=localhost
|
||||||
PROXY_PORT=8080
|
PROXY_PORT=8080
|
||||||
|
IDENTITY_SERVICE_BASEURL=http://auth.example.org:8080
|
||||||
|
@ -108,9 +108,13 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
KEYCLOAK_USER: admin
|
KEYCLOAK_USER: admin
|
||||||
KEYCLOAK_PASSWORD: admin
|
KEYCLOAK_PASSWORD: admin
|
||||||
KEYCLOAK_HOSTNAME: ${PROXY_HOST}
|
KEYCLOAK_HOSTNAME: auth.example.org
|
||||||
KEYCLOAK_IMPORT: /tmp/keycloak-alfresco-realm.json
|
KEYCLOAK_IMPORT: /tmp/keycloak-alfresco-realm.json
|
||||||
KEYCLOAK_STATISTICS: enabled
|
KEYCLOAK_STATISTICS: enabled
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
aliases:
|
||||||
|
- "auth.example.org"
|
||||||
volumes:
|
volumes:
|
||||||
- ./keycloak-alfresco-realm.json:/tmp/keycloak-alfresco-realm.json:ro
|
- ./keycloak-alfresco-realm.json:/tmp/keycloak-alfresco-realm.json:ro
|
||||||
|
|
||||||
|
@ -10,16 +10,7 @@
|
|||||||
}, {
|
}, {
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
"description": "Administrator privileges"
|
"description": "Administrator privileges"
|
||||||
} ],
|
} ]
|
||||||
"client": {
|
|
||||||
"alfresco": [
|
|
||||||
{
|
|
||||||
"name": "administrator",
|
|
||||||
"composite": false,
|
|
||||||
"clientRole": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"clients": [
|
"clients": [
|
||||||
{
|
{
|
||||||
@ -28,6 +19,9 @@
|
|||||||
"enabled": true,
|
"enabled": true,
|
||||||
"alwaysDisplayInConsole": false,
|
"alwaysDisplayInConsole": false,
|
||||||
"redirectUris": [ "*" ],
|
"redirectUris": [ "*" ],
|
||||||
|
"standardFlowEnabled": true,
|
||||||
|
"implicitFlowEnabled": true,
|
||||||
|
"directAccessGrantsEnabled": false,
|
||||||
"publicClient": true,
|
"publicClient": true,
|
||||||
"protocol": "openid-connect",
|
"protocol": "openid-connect",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
@ -46,10 +40,7 @@
|
|||||||
"value" : "password"
|
"value" : "password"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"realmRoles": [ "user" ],
|
"realmRoles": [ "user", "admin" ]
|
||||||
"clientRoles": {
|
|
||||||
"alfresco": ["administrator"]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,10 @@ http {
|
|||||||
|
|
||||||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_buffering off;
|
# proxy_buffering off;
|
||||||
|
proxy_buffer_size 64k;
|
||||||
|
proxy_buffers 4 256k;
|
||||||
|
proxy_busy_buffers_size 256k;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user