SHARE
TWEET

Untitled

a guest Oct 22nd, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '2'
  2.  
  3. services:
  4.   redis:
  5.     image: redis:alpine
  6.     container_name: redis_db
  7.     command: redis-server --appendonly yes
  8.     ports:
  9.       - 6379:6379
  10.     volumes:
  11.       - ./data:/data
  12.     restart: always
  13.     networks:
  14.       - redis_net
  15.  
  16.   idp:
  17.     depends_on:
  18.       - redis
  19.     image: tenstartups/redis-commander
  20.     container_name: redis_comndr
  21.     command: --redis-host redis
  22.     ports:
  23.       - 8081:8081
  24.     links:
  25.       - redis:redis
  26.     restart: always
  27.     networks:
  28.       - redis_net
  29.  
  30. networks:
  31.   redis_net:
  32.     driver: bridge
RAW Paste Data
Top