Commit 21b199e9 by Tsubasa Namiki

Add docker spec

parent 8ee49b3a
......@@ -7,4 +7,22 @@ end
describe port(1234) do
it { should be_listening }
end
describe docker_container('dockerrestyaboard_restyaboard_1') do
it { should be_running }
end
describe docker_container('dockerrestyaboard_postgres_1') do
it { should be_running }
end
describe docker_container('dockerrestyaboard_elasticsearch_1') do
it { should be_running }
end
describe docker_container('dockerrestyaboard_data00restyaboard_1') do
it { should have_volume('/usr/share/nginx/html/media','/volumes/data00restyaboard') }
it { should have_volume('/var/lib/postgresql/data','/volumes/data00postgres') }
it { should have_volume('/usr/share/elasticsearch/data','/volumes/data00elasticsearch') }
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment