Skip to content

Instantly share code, notes, and snippets.

@giovannibonetti
Created November 29, 2018 12:47
Show Gist options
  • Save giovannibonetti/99d03f873fdf0452e2a47ad4aa67996c to your computer and use it in GitHub Desktop.
Save giovannibonetti/99d03f873fdf0452e2a47ad4aa67996c to your computer and use it in GitHub Desktop.
# local machine
$ gcloud --project "..." app instances ssh "..." --service "default" --version "..."
# app engine flex instance
$ docker ps
$ docker exec -it 2284fbe5c3bc bash
# docker container running on app engine flex instance
root@2284fbe5c3bc:/app$ bundle exec rake middleware
use Rack::Cors
use ActionDispatch::SSL
use Rack::Sendfile
use ActionDispatch::Static
use Rack::Deflater
use ActionDispatch::Executor
use Rack::NotifyTimeout
use ActiveSupport::Cache::Strategy::LocalCache::Middleware
use Google::Cloud::Trace::Middleware
use Rack::Runtime
use Rack::MethodOverride
use ActionDispatch::RequestId
use RequestStore::Middleware
use ActionDispatch::RemoteIp
use Google::Cloud::Logging::Middleware
use Rails::Rack::Logger
use ActionDispatch::ShowExceptions
use ActionDispatch::DebugExceptions
use Google::Cloud::ErrorReporting::Middleware
use ActionDispatch::Callbacks
use ActionDispatch::Cookies
use ActionDispatch::Session::CookieStore
use ActionDispatch::Flash
use Rack::Head
use Rack::ConditionalGet
use Rack::ETag
use Google::Cloud::Debugger::Middleware
use RequestMetadata
use RequestTimeout
use Warden::Manager
use Remotipart::Middleware
use Warden::JWTAuth::Middleware
use ActionDispatch::Cookies
use ActionDispatch::Flash
use ActionDispatch::Session::CookieStore
use Rack::MethodOverride
use Rack::Pjax
run CalculoJuridico::Application.routes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment