This gist is based on Liferay DXP (7.0) with Tomcat
-
Create
system-ext.propertiesin/WEB-INF/classes -
Add
org.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParserto system-ext.properties -
Create
com.liferay.portal.store.s3.configuration.S3StoreConfiguration.cfginosgi/configsaccessKey=
secretKey=
s3Region=eu-central-1
bucketName=your-bucket-repo# Amazon S3 offers several storage classes
# http://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.htmls3StorageClass=STANDARD
httpClientMaxConnections=50
cacheDirCleanUpExpunge=7
cacheDirCleanUpFrequency=100 -
In
portal-ext.propertiesadddl.store.impl=com.liferay.portal.store.s3.S3Store -
Restart tomcat