Skip to content

Instantly share code, notes, and snippets.

@dex4er
Created November 12, 2019 15:37
Show Gist options
  • Save dex4er/1f68248b5785fc485ae4ea2c9048ca9f to your computer and use it in GitHub Desktop.
Save dex4er/1f68248b5785fc485ae4ea2c9048ca9f to your computer and use it in GitHub Desktop.
Example of docker compose
# Docker services for development environment
#
# Usage: docker-compose up -d --remove-orphans
version: "3"
services:
influxdb:
container_name: influxdb
image: influxdb:1.7
ports:
- "8086:8086"
restart: always
rabbitmq:
container_name: rabbitmq
image: rabbitmq:3.7-management
ports:
- "5672:5672"
- "15672:15672"
restart: always
redis:
container_name: redis
image: redis:3.2
ports:
- "6379:6379"
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment