
########
# salt
########
salt:
  image: docker.alphabets.cn/salt:0.0.1
  container_name: salt
  hostname: salt
  restart: always
  ports:
   - "4505:4505"
   - "4506:4506"
   - "4507:4507"
  volumes:
   - /etc/salt/pki
   - /var/salt/cache
   - /var/logs/salt

########
# bind use privileged
########
bind:
  image: docker.alphabets.cn/bind:0.0.1
  container_name: bind
  hostname: bind
  restart: always
  privileged: true
  command: /sbin/init
  ports:
   - "10.144.161.119:53:53"
   - "115.28.161.172:53:53"
   - "10.144.161.119:53:53/udp"
   - "115.28.161.172:53:53/udp"
  volumes:
   - /var/named

########
# haproxy
########
haproxy:
  image: docker.alphabets.cn/haproxy:0.0.1
  container_name: haproxy
  hostname: haproxy
  restart: always
  ports:
   - "54017:54017"
   - "55017:55017"
   - "57017:57017"
   - "443:443"
  volumes:
   - /etc/haproxy

########
# squid
########
squid:
  image: docker.alphabets.cn/squid:0.0.1
  container_name: squid
  hostname: squid
  restart: always
  ports:
   - "3128:3128"
  volumes:
   - /etc/squid
   - /var/log/squid
