mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 17:22:57 +01:00
Actualizados para los cambios de 3.0.2 que trajeron muchos problemas
This commit is contained in:
committed by
Sebastian Waldbauer
parent
9d9bef0248
commit
08859e2108
@@ -11,8 +11,13 @@ RUN sudo apt-get update \
|
||||
&& sudo rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /opt
|
||||
ADD entrypoint-dev.sh /opt/entrypoint-dev.sh
|
||||
ADD install_reqs_and_deploy_bots /opt/install_reqs_and_deploy_bots.sh
|
||||
RUN sudo chmod +x /opt/entrypoint-dev.sh \
|
||||
&& sudo chown intelmq:intelmq /opt/entrypoint-dev.sh
|
||||
RUN sudo chmod +x /opt/install_reqs_and_deploy_bots.sh \
|
||||
&& sudo chown intelmq:intelmq /opt/install_reqs_and_deploy_bots.sh
|
||||
|
||||
USER intelmq:intelmq
|
||||
|
||||
ENTRYPOINT [ "/opt/entrypoint-dev.sh" ]
|
||||
|
||||
@@ -7,7 +7,6 @@ done
|
||||
cat /tmp/fullrequirements.txt | sort | uniq > /tmp/orderfullrequirements.txt
|
||||
sudo pip3 install -r /tmp/orderfullrequirements.txt;
|
||||
|
||||
|
||||
#cd /etc/intelmq
|
||||
#sudo pip3 install --no-cache-dir -e .
|
||||
#sudo intelmqsetup
|
||||
cd /etc/intelmq
|
||||
sudo pip3 install --no-cache-dir -e .
|
||||
sudo intelmqsetup
|
||||
|
||||
@@ -30,7 +30,13 @@ docker-compose -f docker-compose-dev.yml up
|
||||
|
||||
### Volumes:
|
||||
|
||||
- **./my_fork_of_intelmq/intelmq:/etc/intelmq/intelmq** -> this is the folder where your source code need to be, we decide to use fork from intelmq so you could inherit intelmq changes and upgrades to your bots code directly.
|
||||
- **./my_fork_of_intelmq/:/my_fork_of_intelmq** -> this is the folder where your source code need to be, we decide to use fork from intelmq so you could inherit intelmq changes and upgrades to your bots code directly.
|
||||
|
||||
### Environment
|
||||
#Folder where you clone your repository
|
||||
MY_FORK: "/my_fork_of_intelmq"
|
||||
#Foder in your repo where bots are located
|
||||
MY_BOTS_FOLDER: "intelmq/bots"
|
||||
|
||||
### Add your own bots
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ services:
|
||||
- ./example_config/intelmq-api/config.json:/etc/intelmq/api-config.json
|
||||
- ./intelmq_logs:/opt/intelmq/var/log
|
||||
- ./intelmq_output:/opt/intelmq/var/lib/bots
|
||||
- ./my_fork_of_intelmq/:${MY_FORK}/${MY_BOTS_FOLDER}
|
||||
- ./mybots:/my_fork_of_intelmq
|
||||
depends_on:
|
||||
- redis
|
||||
environment:
|
||||
@@ -36,8 +36,8 @@ services:
|
||||
INTELMQ_SOURCE_PIPELINE_HOST: redis
|
||||
INTELMQ_DESTINATION_PIPELINE_HOST: redis
|
||||
INTELMQ_REDIS_CACHE_HOST: redis
|
||||
MY_FORK: "my_fork_of_intelmq"
|
||||
MY_BOTS_FOLDER: "intelmq/bots"
|
||||
MY_FORK: "/my_fork_of_intelmq"
|
||||
MY_BOTS_FOLDER: "bots"
|
||||
networks:
|
||||
- intelmq-internal
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user