daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Aug 18th, 2018 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: "3"
  2.  
  3. services:
  4.   rabbitmq:
  5.     image: docker.io/rabbitmq:3.7.7-management
  6.     container_name: rabbitmq01
  7.     expose:
  8.       - "5672"
  9.       - "15672"
  10.     ports:
  11.       - "5672:5672"
  12.       - "15672:15672"
  13.     volumes:
  14.       - /data01/rabbitmq:/var/lib/rabbitmq
  15.     privileged: true
  16.     restart: always
  17.     hostname: rabbitmq01
  18.  
  19.   redis:
  20.     image: docker.io/redis:4.0
  21.     container_name: redis01
  22.     expose:
  23.       - "6379"
  24.     ports:
  25.       - "6379:6379"
  26.     volumes:
  27.       - /data01/redis:/data
  28.     privileged: true
  29.     restart: always
  30.     command: redis-server --appendonly yes
  31.  
  32.   postgres:
  33.     image: docker.io/postgres:10
  34.     container_name: postgres01
  35.     expose:
  36.       - "5432"
  37.     ports:
  38.       - "5432:5432"
  39.     volumes:
  40.       - /data01/postgres/data:/var/lib/postgresql/data
  41.     privileged: true
  42.     environment:
  43.       - POSTGRES_USER=postgres
  44.       - POSTGRES_PASSWORD=123456
  45.       - PGDATA=/var/lib/postgresql/data/pgdata
  46.     hostname: postgres01
  47.     restart: always
  48.  
  49.   mongodb:
  50.     image: docker.io/mongodb:4.0.1
  51.     container_name: mongodb01
  52.     expose:
  53.       - "27017"
  54.     ports:
  55.       - "27017:27017"
  56.     volumes:
  57.       - /data01/mongodb/data:/data/db
  58.     privileged: true
  59.     environment:
  60.       - MONGO_INITDB_ROOT_USERNAME=admin
  61.       - MONGO_INITDB_ROOT_PASSWORD=123456
  62.     hostname: mongodb01
  63.     restart: always
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top