mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +01:00
Revert "Add some rake tasks for Docker"
This reverts commit 9d364565f6
.
This commit is contained in:
parent
9d364565f6
commit
9389566ab0
@ -1,17 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
namespace :docker do
|
|
||||||
namespace :development do
|
|
||||||
desc 'Build and start services in development'
|
|
||||||
task :start do
|
|
||||||
`docker-compose up -d`
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
namespace :production do
|
|
||||||
desc 'Build or rebuild and start services in production'
|
|
||||||
task :start do
|
|
||||||
`docker-compose -f docker-compose.yml -f docker-compose.prod.yml pull && docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d`
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Reference in New Issue
Block a user