Skip to content

artcom/acms-assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acms assets

Basic WebDAV server based on Apache httpd server.

Usage

Build and run container:

docker build -t artcom/acms-assets .
docker run -d -p 80:80 --name artcom/acms-assets artcom/acms-assets

Create Directorty and run container:

curl -X MKCOL http://localhost:80/catPictures

Upload image:

curl -T /path/to/your/local/file/cat2.png -H "Content-Type: image/png" http://localhost:80/catPictures/cat2.png

Extra configuration

Extra configuration (e.g. CORS headers) of the <Directory> directive can be added by mounting a file to /usr/local/apache2/conf/conf.d/<config_name>.conf.