An open API service indexing awesome lists of open source software.

https://github.com/artcom/acms-assets

Asset server for https://github.com/artcom/acms-compose
https://github.com/artcom/acms-assets

Last synced: 4 months ago
JSON representation

Asset server for https://github.com/artcom/acms-compose

Awesome Lists containing this project

README

          

# Acms assets

Basic WebDAV server based on Apache httpd server.

## Usage

**Build and run container:**

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

**Create Directorty and run container:**

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

**Upload image:**

```bash
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 `` directive can be added by mounting a file to `/usr/local/apache2/conf/conf.d/.conf`.