-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Alfresco Connector MSTeams Docker image
- Loading branch information
Showing
5 changed files
with
100 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM java_base | ||
|
||
EXPOSE 9095 | ||
|
||
ARG ALFRESCO_MSTEAMS_GROUP_NAME | ||
ARG ALFRESCO_MSTEAMS_GROUP_ID | ||
ARG ALFRESCO_MSTEAMS_USER_NAME | ||
ARG ALFRESCO_MSTEAMS_USER_ID | ||
|
||
ADD alfresco-ms-teams-springboot*.jar /opt/app.jar | ||
|
||
RUN groupadd -g ${ALFRESCO_MSTEAMS_GROUP_ID} ${ALFRESCO_MSTEAMS_GROUP_NAME} && \ | ||
useradd -u ${ALFRESCO_MSTEAMS_USER_ID} -g ${ALFRESCO_MSTEAMS_GROUP_NAME} ${ALFRESCO_MSTEAMS_USER_NAME} && \ | ||
chgrp ${ALFRESCO_MSTEAMS_GROUP_NAME} /opt/app.jar | ||
|
||
USER ${ALFRESCO_MSTEAMS_USER_NAME} | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
CMD ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Runtime variables | ||
|
||
Sets of variables configurable with your docker image | ||
|
||
## msteams | ||
|
||
```yaml | ||
|
||
alfresco-connector-msteams: | ||
image: localhost/alfresco-ms-teams-service:YOUR-TAG | ||
environment: | ||
JAVA_OPTS: | ||
ALFRESCO_BASE_URL: | ||
ALFRESCO_DIGITAL_WORKSPACE_CONTEXT_PATH: | ||
MICROSOFT_APP_OAUTH_CONNECTION_NAME: | ||
MICROSOFT_APP_ID: | ||
MICROSOFT_APP_PASSWORD: | ||
TEAMS_CHAT_FILENAME_ENABLED: | ||
TEAMS_CHAT_METADATA_ENABLED: | ||
TEAMS_CHAT_IMAGE_ENABLED: | ||
``` | ||
- `JAVA_OPTS` - Additional java options | ||
- `ACS_BASE_URL` - The base URL of the Content Services installation in the format `<domain>:<port>`. For example, {my.domain}/ | ||
- `ALFRESCO_DIGITAL_WORKSPACE_CONTEXT_PATH` - The Alfresco Digital Workspace context path in the Content Services installation, usually /workspace | ||
- `MICROSOFT_APP_OAUTH_CONNECTION_NAME` - OAuth Connection name | ||
- `MICROSOFT_APP_ID` - The Azure Bot application identifier created when registering the Azure bot and looks something like `9af7ae3a-1798-4de7-a992-c3ac48****` | ||
- `MICROSOFT_APP_PASSWORD` - The Azure Bot application password | ||
- `TEAMS_CHAT_FILENAME_ENABLED` - Enables or disables the inclusion of filenames in Teams chat messages. Set to `true` to include filenames, or `false` to exclude them. | ||
- `TEAMS_CHAT_METADATA_ENABLED` - Enables or disables the inclusion of metadata in Teams chat messages. Set to `true` to include metadata, or `false` to exclude it. | ||
- `TEAMS_CHAT_IMAGE_ENABLED` - Enables or disables the inclusion of images in Teams chat messages. Set to `true` to include images, or `false` to exclude them. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"artifacts": { | ||
"acs23": [ | ||
{ | ||
"name": "alfresco-ms-teams-springboot", | ||
"version": "2.0.2", | ||
"path": "connector/msteams", | ||
"classifier": ".jar", | ||
"repository": "enterprise-releases", | ||
"group": "org.alfresco" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
exec java $JAVA_OPTS -jar /opt/app.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters