Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deepsquare-io/cvmfs-server-docker
Run CVMFS replicas in docker!
https://github.com/deepsquare-io/cvmfs-server-docker
clusters cvmfs docker
Last synced: about 2 months ago
JSON representation
Run CVMFS replicas in docker!
- Host: GitHub
- URL: https://github.com/deepsquare-io/cvmfs-server-docker
- Owner: deepsquare-io
- License: apache-2.0
- Created: 2022-04-25T15:45:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-02T18:29:43.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T10:46:32.089Z (9 months ago)
- Topics: clusters, cvmfs, docker
- Language: Dockerfile
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cvmfs-server-docker
Run an apache web server ith cvmfs enabled.
## Configuration
See example directory for more details.
### Capabilities
The container must be run as root and with the `SYS_ADMIN`.
### Ports
80/tcp, HTTP port from apache web server.
### Volumes
- `/var/spool/cvmfs` is the state of the CVMFS server, must be persistent.
- `/srv/cvmfs` are the data served by apache, must be persistent.
- `/sys/fs/cgroup:/sys/fs/cgroup:ro` (+ SYS_ADMIN capability) permits systemd to work.
- (optional, but recommended) `/etc/cvmfs/server.local` the CVMFS server config.
- `/etc/cvmfs-setup/env` configure the replication.The format looks like this:
```sh
CVMFS_REPO_NAME=
CVMFS_REPO_URL=
CVMFS_REPO_KEYS=
CVMFS_REPO_OPTIONS='-o '
```The owner option is mandatory, otherwise the container will be stuck.
Example:
```sh
CVMFS_REPO0_NAME=stdenv.sion.csquare.run
CVMFS_REPO0_URL=http://cvmfs.ch1.csquare.run/cvmfs/stdenv.sion.csquare.run
CVMFS_REPO0_KEYS=/etc/cvmfs/keys/sion.csquare.run
CVMFS_REPO0_OPTIONS='-o root'
```