readme.md 517 Bytes
Newer Older
MUSSET Paul's avatar
MUSSET Paul committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# XCache with token authentication on Docker

# Instructions 
- To give write access to the container to the cache directory
  ```
  chown :9999 /mnt/xcache && chmod g+w /mnt/xcache
  ````

- change the folowing variable in `docker-compose.yml`:
  - `secret:cert:file`
  - `secret:key:file`

- and in config/xcache-config.cfg
  - `pss.origin` : adress of the storage origin server

- and finally to run the container with the help of [docker-compose](https://docs.docker.com/compose/)
  ```
  docker-compose up
  ```