Created
August 26, 2018 10:48
-
-
Save ferdousulhaque/ec186f942eaa38e6bb4cbd97cd185f5c to your computer and use it in GitHub Desktop.
Docker Fluentd Redis and PostGRESQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
fluentd: | |
image: 'fluent/fluentd' | |
ports: | |
- "24224:24224" | |
- "24224:24224/udp" | |
environment: | |
- FLUENT_UID=1000 | |
volumes: | |
- ./data:/fluentd/log | |
- ./fluent.conf:/fluentd/etc/fluent.conf | |
- ./docker-entrypoint.sh:/tmp/docker-entrypoint.sh | |
redis: | |
image: 'bitnami/redis:latest' | |
ports: | |
- "6379:6379" | |
environment: | |
- DISABLE_COMMANDS=FLUSHDB,FLUSHALL,CONFIG | |
- ALLOW_EMPTY_PASSWORD=yes | |
postgres: | |
restart: always | |
image: postgres:latest | |
environment: | |
- POSTGRES_PASSWORD=12345! | |
volumes: | |
- ./dbdata:/var/lib/postgresql/data | |
ports: | |
- "54329:5432" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment