mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 01:02:52 +01:00
FIX: Moved developer stuff to develop-guide
Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
This commit is contained in:
@@ -2,11 +2,14 @@
|
||||
|
||||
## Run & deploy containers in dev mode:
|
||||
|
||||
0. `cd intelmq-manager`
|
||||
0. `python3 setup.py`
|
||||
0. `cd ..`
|
||||
1. `docker-compose -f docker-compose-dev.yml up`
|
||||
|
||||
## Docker-compose-dev.yml file
|
||||
|
||||
### Volume:
|
||||
### Volume:
|
||||
|
||||
**./mybots:/opt/dev/mybots** -> this is the folder where your source code need to be, you could see one expert example in mybots/bots/experts/example and a BOTS json definition file containing the default configuration for example expert.
|
||||
|
||||
@@ -24,7 +27,7 @@ Just run /opt/dev/update.sh in the container:
|
||||
When you do this:
|
||||
|
||||
* Yours BOTS files will be mixed with intelmq original BOTS and the copied to runtime environment
|
||||
* Yours bots will be installed
|
||||
* Yours bots will be installed
|
||||
|
||||
### Additional environment variables
|
||||
|
||||
@@ -42,4 +45,3 @@ For example, using https://github.com/CERTUNLP/intelmq-bots:
|
||||
|
||||
1. `git clone https://github.com/CERTUNLP/intelmq-bots mybots -b 2.3`
|
||||
0. `docker-compose -f docker-compose-dev.yml up`
|
||||
|
||||
|
||||
@@ -15,20 +15,17 @@ If you do have any questions / feedback / questions, please open an issue :)
|
||||
0. `git clone https://github.com/certat/intelmq-docker.git --recursive`
|
||||
0. `cd intelmq-docker`
|
||||
0. `docker-compose pull`
|
||||
0. `cd intelmq-manager`
|
||||
0. `python3 setup.py`
|
||||
0. `cd ..`
|
||||
2. `docker-compose up`
|
||||
3. Open your favourite browser -> Go to `http://127.0.0.1:1337/`
|
||||
|
||||
## For developers
|
||||
## For developers
|
||||
|
||||
Please take a look to DEVELOP-GUIDE.md
|
||||
|
||||
|
||||
## Build and deploy new images
|
||||
|
||||
If you want to build/deploy/test this container run
|
||||
If you want to build/deploy/test this container run
|
||||
1. `chmod +x build.sh`
|
||||
0. `chmod +x test.sh`
|
||||
0. `chmod +x publish.sh`
|
||||
|
||||
Reference in New Issue
Block a user