Eat the fig.sh (now is docker-compose)

Fig is a very simple Docker orchestrator. It can be used to describe your container environment and make it easy to replicate.

http://www.fig.sh/
cat fig.yml
#
# Setup two linked containers: jboss and a log server (you need to configure
# wildfly to use syslog)
#
host1-wildfly:
  image: jboss/wildfly
  environment:
    - JAVA_OPTS=  " -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=4000,suspend=n "
  ports:
    - "8080:8080"
  links:
    - syslogserver

syslogserver:
    image:  jplock/rsyslog
    volumes:
       -  /var/log:/var/log

Lascia un commento