Files
intelmq-docker/docker-compose.yml
Sebastian Waldbauer 3fc8106949 [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>
2021-02-04 09:41:09 +01:00

43 lines
1.2 KiB
YAML

version: "3"
services:
redis:
image: redis:latest
volumes:
- ./example_config/redis/redis.conf:/usr/local/etc/redis/redis.conf
command:
- redis-server
- /usr/local/etc/redis/redis.conf
restart: always
networks:
- intelmq-internal
nginx:
image: certat/intelmq-nginx:latest
restart: always
ports:
- 1337:80
volumes:
- ./intelmq-manager/html:/www
depends_on:
- intelmq
networks:
- intelmq-internal
intelmq:
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
environment:
INTELMQ_PIPELINE_DRIVER: "redis"
INTELMQ_PIPELINE_HOST: redis
INTELMQ_REDIS_CACHE_HOST: redis
networks:
- intelmq-internal
networks:
intelmq-internal:
driver: bridge