sonata-nfv / son-install

The SONATA Service Platform installation scripts
http://www.sonata-nfv.eu
Apache License 2.0
3 stars 13 forks source link

son-gtksrv populate the database before start son-gtksrv container #82

Closed felipevicens closed 7 years ago

felipevicens commented 7 years ago

We should use the following command:

docker run -i --net=sonata -e DATABASE_HOST={{ public_ip }} -e MQSERVER=amqp://guest:guest@{{ public_ip }}:5672 -e RACK_ENV=integration -e CATALOGUES_URL=http://{{ public_ip }}:4002/catalogues/api/v2  -e DATABASE_PORT=5432 -e POSTGRES_PASSWORD=sonata -e POSTGRES_USER=sonatatest --rm=true  sonatanfv/son-gtksrv bundle exec rake db:migrate