mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
cleanup docker files (#1705)
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
# ACA Docker Image
|
||||
|
||||
Docker images are released to [docker hub](https://hub.docker.com/r/alfresco/alfresco-content-app)
|
||||
|
||||
## Environment Variables
|
||||
|
||||
OAUTH2:
|
||||
|
||||
- APP_CONFIG_AUTH_TYPE: ...
|
||||
- APP_CONFIG_OAUTH2_HOST: ...
|
||||
- APP_CONFIG_OAUTH2_CLIENTID: ...
|
||||
- APP_CONFIG_OAUTH2_REDIRECT_LOGIN: ...
|
||||
- APP_CONFIG_OAUTH2_REDIRECT_LOGOUT: ...
|
||||
- APP_CONFIG_OAUTH2_REDIRECT_SILENT_IFRAME_URI: ...
|
||||
|
||||
APP Misc:
|
||||
|
||||
- BASE_PATH: ...
|
||||
- APP_BASE_SHARE_URL: ...
|
||||
- SERVER_PATH: Server path (usefull if behind a reverse proxy). E.g.: `/content-app` . Defaults to `/`
|
@@ -1,20 +0,0 @@
|
||||
# Custom Node creation instruction
|
||||
|
||||
Use the v1 POST node/{nodeId}/children for creating the custom node with a payload like:
|
||||
|
||||
```
|
||||
{
|
||||
"name":"acme document2.txt",
|
||||
"nodeType":"acme:document",
|
||||
"properties": {
|
||||
"acme:documentId": "DOC001",
|
||||
"acme:securityClassification":"Public",
|
||||
"cm:title":"My text"
|
||||
},
|
||||
"aspectNames": [
|
||||
"acme:securityClassified"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Tip: You could use the api explorer with <host-url>/api-explorer/
|
@@ -1,13 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
||||
<beans>
|
||||
<bean id="acme.extension.dictionaryBootstrap"
|
||||
parent="dictionaryModelBootstrap"
|
||||
depends-on="dictionaryBootstrap">
|
||||
<property name="models">
|
||||
<list>
|
||||
<value>alfresco/extension/acme-content-model.xml</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
</beans>
|
@@ -1,66 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<model name="acme:contentModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
|
||||
<description>Sample Document Model</description>
|
||||
<author>My Name</author>
|
||||
<version>1.0</version>
|
||||
|
||||
<imports>
|
||||
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
||||
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
||||
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
|
||||
</imports>
|
||||
|
||||
<namespaces>
|
||||
<namespace uri="http://www.acme.org/model/content/1.0" prefix="acme"/>
|
||||
</namespaces>
|
||||
|
||||
<constraints>
|
||||
<constraint name="acme:securityClassificationOptions" type="LIST">
|
||||
<parameter name="allowedValues">
|
||||
<list>
|
||||
<value></value>
|
||||
<value>Public</value>
|
||||
<value>Client Confidential</value>
|
||||
<value>Company Confidential</value>
|
||||
<value>Strictly Confidential</value>
|
||||
</list>
|
||||
</parameter>
|
||||
</constraint>
|
||||
</constraints>
|
||||
|
||||
<types>
|
||||
<type name="acme:document">
|
||||
<title>Sample Document Type</title>
|
||||
<parent>cm:content</parent>
|
||||
<properties>
|
||||
<property name="acme:documentId">
|
||||
<title>Document Identification Number</title>
|
||||
<type>d:text</type>
|
||||
</property>
|
||||
</properties>
|
||||
<mandatory-aspects>
|
||||
<aspect>acme:securityClassified</aspect>
|
||||
</mandatory-aspects>
|
||||
</type>
|
||||
</types>
|
||||
|
||||
<aspects>
|
||||
<aspect name="acme:securityClassified">
|
||||
<title>ACME Security Classified</title>
|
||||
<description>Content has been security classified</description>
|
||||
<properties>
|
||||
<property name="acme:securityClassification">
|
||||
<type>d:text</type>
|
||||
<index enabled="true">
|
||||
<atomic>true</atomic>
|
||||
<stored>false</stored>
|
||||
<tokenised>false</tokenised>
|
||||
</index>
|
||||
<constraints>
|
||||
<constraint ref="acme:securityClassificationOptions"/>
|
||||
</constraints>
|
||||
</property>
|
||||
</properties>
|
||||
</aspect>
|
||||
</aspects>
|
||||
</model>
|
File diff suppressed because it is too large
Load Diff
@@ -1,40 +0,0 @@
|
||||
worker_processes 1;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen *:8080;
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
set $allowOriginSite *;
|
||||
proxy_pass_request_headers on;
|
||||
proxy_pass_header Set-Cookie;
|
||||
|
||||
# External settings, do not remove
|
||||
#ENV_ACCESS_LOG
|
||||
|
||||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
||||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
proxy_set_header Host $host:$server_port;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass_header Set-Cookie;
|
||||
|
||||
location / {
|
||||
proxy_pass http://alfresco:8080;
|
||||
}
|
||||
|
||||
location /alfresco/ {
|
||||
proxy_pass http://alfresco:8080;
|
||||
}
|
||||
|
||||
location /api-explorer/ {
|
||||
proxy_pass http://alfresco:8080/api-explorer/;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user