Advertisement
Guest User

Docker-Compose consul vault config

a guest
Nov 5th, 2016
557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.42 KB | None | 0 0
  1. version: '2'
  2. services:
  3.   consul1:
  4.     image: "consul:latest"
  5.     container_name: "consul1"
  6.     hostname: "consul1"
  7.     ports:
  8.      - "8301:8301"
  9.       - "8400:8400"
  10.       - "8500:8500"
  11.       - "8600:53"
  12.     command: "agent -server -dev -client=0.0.0.0"
  13.   vault:
  14.     image: twashing/vault:local
  15.     hostname: "vault"
  16.     ports:
  17.      - "8200"
  18.       - "8500"
  19.     command: "server"
  20.     depends_on:
  21.      - consul1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement