Commit 4e32605a authored by Bastien Gounon's avatar Bastien Gounon 🐗
Browse files

Update README

parent 7ed7e267
Pipeline #87238 passed with stage
in 5 minutes and 10 seconds
......@@ -8,19 +8,17 @@ Help available with `./xcache-flusher -h`
Server will listen on port 8080
### Using Docker container
Download the image: \
`docker pull gitlab-registry.in2p3.fr/bastien.gounon/xcache-flusher` \
When running you must specify environment variables for configuration:
- `FLUSHER_DIR`: comma-separated list of directories to flush
- (opt) `FLUSHER_PORT`: port on which to listen, default 8080. Using default and redirecting a different host port via Docker is preferrable.
- (opt) `FLUSHER_TOKEN`: string used to authenticate client requests \
Example:
#### Example:
```
docker run -p 54321:8080 --env FLUSHER_DIR=/xcache/data,/xcache/metadata --env FLUSHER_TOKEN=mysecretpassword -v /path/to/data:/xcache gitlab-registry.in2p3.fr/bastien.gounon/xcache-flusher
```
Docker-compose example:
#### Docker-compose example:
```
version: '3'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment