Rakefile in aptly_cli-0.3.2 vs Rakefile in aptly_cli-0.3.3
- old
+ new
@@ -43,10 +43,10 @@
sh %{docker stop $(docker ps --filter ancestor='sepulworld/aptly_api_test' --format="{{.ID}}")}
end
desc "Start Aptly Docker container on port 8082"
task :docker_run do
- sh %{docker run -d -p 8082:8080 sepulworld/aptly_api_test /bin/sh -c "aptly api serve"}
+ sh %{docker run -d -p 8082:8080 --restart=always sepulworld/aptly_api_test /bin/sh -c "aptly api serve"}
end
desc "Show running Aptly process Docker stdout logs"
task :docker_show_logs do
sh %{docker logs $(docker ps --filter ancestor='sepulworld/aptly_api_test' --format="{{.ID}}")}