version: "2"
services:

  fulfillment:
    image: openlmis/fulfillment
    links:
      - db
      - log
      - ftp
    env_file: .env
    volumes:
      - '../files/fulfillment:/var/files/fulfillment'

  db:
    image: openlmis/postgres
    logging:
      driver: syslog
      options:
        syslog-address: "tcp://localhost:514"
        syslog-facility: "local1"
    depends_on: [log]
    env_file: .env

  ftp:
    image: hauptmedia/proftpd
    ports:
      - "21:21"
      - "20:20"
    env_file: .env

  log:
    image: openlmis/rsyslog
    ports:
      - "514:514"
    volumes:
      - '../logs/fulfillment:/var/log'

version: "2"
services:

  fulfillment:
    image: openlmis/fulfillment
    links:
      - db
      - log
      - ftp
    env_file: .env
    volumes:
      - '../files/fulfillment:/var/lib/openlmis/fulfillment/orders'

  db:
    image: openlmis/postgres
    logging:
      driver: syslog
      options:
        syslog-address: "tcp://localhost:514"
        syslog-facility: "local1"
    depends_on: [log]
    env_file: .env

  ftp:
    image: hauptmedia/proftpd
    ports:
      - "21:21"
      - "20:20"
    env_file: .env

  log:
    image: openlmis/rsyslog
    ports:
      - "514:514"
    volumes:
      - '../logs/fulfillment:/var/log'

Change local storage dir path (FEOLMIS-597)
OLMIS-1369: Change local storage dir path (FEOLMIS-597)
