You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
522 B
32 lines
522 B
version: "3.8"
|
|
|
|
services:
|
|
#fluentd service
|
|
writetomongo:
|
|
image: writemongo:latest
|
|
container_name: fluentd
|
|
user: root
|
|
build: ./WriteToMongo/fluent
|
|
volumes:
|
|
- ./WriteToMongo/fluent:/fluentd/etc
|
|
ports:
|
|
- "24224:24224"
|
|
- "24224:24224/udp"
|
|
networks:
|
|
playground-net:
|
|
mongo:
|
|
container_name: mongo
|
|
image: mongo
|
|
expose:
|
|
- 27017
|
|
ports:
|
|
- "27017:27017"
|
|
networks:
|
|
playground-net:
|
|
|
|
volumes:
|
|
fluent:
|
|
# src:
|
|
|
|
networks:
|
|
playground-net:
|
|
|