mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 09:12:49 +01:00
[FIX] Using networks instead of links
Docker links are deprecated, so we're using a recommended way. Docker Networks! Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
This commit is contained in:
@@ -8,8 +8,10 @@ services:
|
||||
- redis-server
|
||||
- /usr/local/etc/redis/redis.conf
|
||||
restart: always
|
||||
networks:
|
||||
- intelmq-internal
|
||||
nginx:
|
||||
image: intelmq-nginx:latest
|
||||
image: certat/intelmq-nginx:latest
|
||||
restart: always
|
||||
ports:
|
||||
- 1337:80
|
||||
@@ -17,14 +19,15 @@ services:
|
||||
- ./intelmq-manager/html:/www
|
||||
depends_on:
|
||||
- intelmq
|
||||
links:
|
||||
- intelmq
|
||||
networks:
|
||||
- intelmq-internal
|
||||
intelmq:
|
||||
image: intelmq-full:1.0
|
||||
image: certat/intelmq-full:1.0
|
||||
volumes:
|
||||
- ./example_config/intelmq/etc/:/opt/intelmq/etc/
|
||||
- ./example_config/intelmq-api:/opt/intelmq-api/config
|
||||
- ./intelmq_logs:/opt/intelmq/var/log
|
||||
- ./intelmq_output:/opt/intelmq/var/lib/bots
|
||||
- ./example_config/intelmq/var/lib/bot:/opt/intelmq/var/lib/bot
|
||||
depends_on:
|
||||
- redis
|
||||
@@ -32,5 +35,9 @@ services:
|
||||
INTELMQ_PIPELINE_DRIVER: "redis"
|
||||
INTELMQ_PIPELINE_HOST: redis
|
||||
INTELMQ_REDIS_CACHE_HOST: redis
|
||||
links:
|
||||
- redis
|
||||
networks:
|
||||
- intelmq-internal
|
||||
|
||||
networks:
|
||||
intelmq-internal:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user