https://github.com/zuazo/dradis-docker
A Docker image with Dradis: A collaboration and reporting platform for IT security experts.
https://github.com/zuazo/dradis-docker
devops docker dradis minimal repository security
Last synced: 10 months ago
JSON representation
A Docker image with Dradis: A collaboration and reporting platform for IT security experts.
- Host: GitHub
- URL: https://github.com/zuazo/dradis-docker
- Owner: zuazo
- License: apache-2.0
- Created: 2016-02-26T21:11:02.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T11:19:05.000Z (almost 2 years ago)
- Last Synced: 2025-03-26T22:05:17.037Z (10 months ago)
- Topics: devops, docker, dradis, minimal, repository, security
- Language: Ruby
- Homepage: https://hub.docker.com/r/zuazo/dradis/
- Size: 13.7 KB
- Stars: 12
- Watchers: 3
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Dradis Docker Container
[](https://github.com/zuazo/dradis-docker) [](https://imagelayers.io/?images=zuazo/dradis:latest) [](https://quay.io/repository/zuazo/dradis) [](https://travis-ci.org/zuazo/dradis-docker)
A [Docker](https://www.docker.com/) image with [Dradis](https://dradis.com/ce/).
### Supported Tags and Respective `Dockerfile` Links
* `latest` ([*/Dockerfile*](https://github.com/zuazo/dradis-docker/tree/master/Dockerfile))
#### What Is Dradis?
From [its own website](https://dradis.com/ce/):
*The Dradis Framework is an open-source collaboration and reporting platform for IT security experts.*
*Dradis is a self-contained web application that provides a centralized repository of information to keep track of everything that has been done so far, and what is still ahead.*
#### How to Use This Image
##### Download the Image
$ docker pull zuazo/dradis
##### Create a Directory to Store the Database Data
$ mkdir -p dbdata/
##### Run Dradis
You need to set the `/dbdata` volume path:
$ docker run \
--publish 3000:3000 \
--volume "$(pwd)/dbdata:/dbdata" \
zuazo/dradis
You can now open [http://127.0.0.1:3000/](http://127.0.0.1:3000/) to access Dradis.
#### Build from Sources
Instead of installing the image from Docker Hub, you can build the image from sources if you prefer:
$ git clone https://github.com/zuazo/dradis-docker dradis
$ cd dradis
$ docker build -t zuazo/dradis .
#### Exposed TCP/IP Ports
* `3000`: Dradis application HTTP port.
#### Environment Variables Used at Runtime
* `SECRET_KEY_BASE`: Randomized string which is used to verify the integrity of signed cookies (randomly generated by default). See [here](http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#config-secrets-yml).
You can change them using `docker run -e [...]` or in your *Dockerfile*, using the `ENV` instruction.
#### Read-only Environment Variables Used at Build Time
* `DRADIS_VERSION`: Dradis version to install (`3.0.0.rc1`).
* `RAILS_ENV`: Rails environment (`production`).
The docker working directory is set to the main Dradis directory (`/opt/dradis`).
### License and Author
| | |
|:---------------------|:-----------------------------------------|
| **Author:** | [Xabier de Zuazo](https://github.com/zuazo) (xabier@zuazo.org)
| **Copyright:** | Copyright (c) 2016
| **License:** | Apache License, Version 2.0
```
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```