rails server:
  cmd.run:
    - name: 'nohup bundle exec rails server > /vagrant/log/rails.log 2> /vagrant/log/rails.err < /dev/null &'
    - cwd: /vagrant
    - unless: pgrep -fa rails
    - env:
      - DB_HOST: 192.168.69.20
      - REDIS_HOST: 192.168.69.20
      - SERVER_HOST: 192.168.69.20
      - GITHUB_ID: {{salt['pillar.get']('rails:github:id', '')}}
      - GITHUB_SECRET: {{salt['pillar.get']('rails:github:secret', '')}}
      - WEBHOOK_URL: {{salt['pillar.get']('rails:webhook:url', '')}}

rails server:
  cmd.run:
    - name: 'nohup bundle exec rails server > /vagrant/log/rails.log 2> /vagrant/log/rails.err < /dev/null &'
    - cwd: /vagrant
    - unless: pgrep -fa rails
    - env:
      - DB_HOST: 192.168.69.20
      - REDIS_HOST: 192.168.69.20
      - SERVER_HOST: 192.168.69.30
      - RAILS_ENV: development
      - GITHUB_ID: {{salt['pillar.get']('rails:github:id', '')}}
      - GITHUB_SECRET: {{salt['pillar.get']('rails:github:secret', '')}}
      - WEBHOOK_URL: {{salt['pillar.get']('rails:webhook:url', '')}}

Update rails server states to fix docker host and rails env
Update rails server states to fix docker host and rails env

performanceci/performanceci-core,cdarwin/performanceci-core,cdarwin/performanceci-core,performanceci/performanceci-core,performanceci/performanceci-core,cdarwin/performanceci-core,performanceci/performanceci-core,cdarwin/performanceci-core