Jump to content

Recommended Posts

A quem tiver interesse em utilizar o Cloud9 diretamente em seu container para desenvolvimento, criei uma imagem para adicionar ao seu docker-compose.yml

Link do projeto no Docker Hubhttps://hub.docker.com/r/redbeard/cloud9/

Exemplo de uso abaixo:

version: '2'
services:
  app:
    image: ubuntu:latest
    volumes:
      - "./code:/code"
    ports:
      - "3000:3000"
    links:
      - c9sdk
  c9sdk:
    image: redbeard/cloud9:latest
    volumes:
      - ./code:/workspace
    ports:
      - "8181:8181"

 

Ficará acessível em http://seuhost:8181
Usuário: cloud9
Senha: cloud9

Github: https://github.com/michelwilhelm/docker-c9

  • +1 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By diegohamaz1
      Pessoal,
       
       
      Estou tentando salvar logs no www.logentries.com usando laravel 5.6 porem quando tento mandar me da o seguinte erro
       
      [2018-06-14 16:35:01] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (Error(code: 0): Call to undefined function Monolog\\Handler\\SyslogUdp\\socket_create() at /data/www/vendor/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php:26) [stacktrace] #0 /data/www/vendor/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php(41): Monolog\\Handler\\SyslogUdp\\UdpSocket->__construct('my.logentries.i...', '10000') #1 [internal function]: Monolog\\Handler\\SyslogUdpHandler->__construct('my.logentries.i...', '10000', 8, 100, true, 'php') #2 /data/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(800): ReflectionClass->newInstanceArgs(Array) #3 /data/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(646): Illuminate\\Container\\Container->build('Monolog\\\\Handler...') #4 /data/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(601): Illuminate\\Container\\Container->resolve('Monolog\\\\Handler...', Array) #5 /data/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(734): Illuminate\\Container\\Container->make('Monolog\\\\Handler...', Array) #6 /data/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(342): Illuminate\\Foundation\\Application->make('Monolog\\\\Handler...', Array) #7 /data/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(191): Illuminate\\Log\\LogManager->createMonologDriver(Array) #8 /data/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(115): Illuminate\\Log\\LogManager->resolve('logentries') #9 /data/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(103): Illuminate\\Log\\LogManager->get('logentries') #10 /data/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(92): Illuminate\\Log\\LogManager->driver('logentries') #11 /data/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(230): Illuminate\\Log\\LogManager->channel('logentries') #12 [internal function]: Illuminate\\Log\\LogManager->Illuminate\\Log\\{closure}('logentries', 0) #13 /data/www/vendor/laravel/framework/src/Illuminate/Support/Collection.php(932): array_map(Object(Closure), Array, Array) #14 /data/www/vendor/laravel/framework/src/Illuminate/Support/Collection.php(1027): Illuminate\\Support\\Collection->map(Object(Closure)) #15 /data/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(231): Illuminate\\Support\\Collection->flatMap(Object(Closure)) #16 /data/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(191): Illuminate\\Log\\LogManager->createStackDriver(Array) #17 /data/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(115): Illuminate\\Log\\LogManager->resolve('stack') #18 /data/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(103): Illuminate\\Log\\LogManager->get('stack') #19 /data/www/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(583): Illuminate\\Log\\LogManager->driver() #20 /data/www/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Illuminate\\Log\\LogManager->debug('Novo alerta !!!...') #21 /data/www/app/Http/Middleware/AfterMiddleware.php(51): Illuminate\\Support\\Facades\\Facade::__callStatic('debug', Array) #22 /data/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): App\\Http\\Middleware\\AfterMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /data/www/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /data/www/app/Http/Middleware/AppMiddleware.php(70): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #25 /data/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): App\\Http\\Middleware\\AppMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /data/www/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /data/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(67): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #28 /data/www/app/Http/Middleware/VerifyCsrfToken.php(56): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 /data/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): App\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /data/www/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /data/www/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #32 /data/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 /data/www/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /data/www/app/Http/Middleware/BeforeMiddleware.php(50): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #35 /data/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): App\\Http\\Middleware\\BeforeMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 /data/www/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 /data/www/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #38 /data/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /data/www/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /data/www/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #41 /data/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /data/www/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 /data/www/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #44 /data/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /data/www/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /data/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(51): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #47 /data/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 /data/www/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 /data/www/vendor/barryvdh/laravel-cors/src/HandlePreflight.php(35): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #50 /data/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Barryvdh\\Cors\\HandlePreflight->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /data/www/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /data/www/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #53 /data/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #54 /data/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #55 /data/www/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #56 {main} "} Meu arquivo de log esta assim
       
      <?php use Monolog\Handler\StreamHandler; return [ 'default' => env('LOG_CHANNEL', 'stack'), 'channels' => [ 'stack' => [ 'driver' => 'stack', 'channels' => ['logentries' , 'slack'], ], 'logentries' => [ 'driver' => 'monolog', 'handler' => Monolog\Handler\SyslogUdpHandler::class, 'handler_with' => [ 'token' => env('LOGENTRIES_TOKEN'), 'port' => '10000', 'host' => 'my.logentries.internal.datahubhost.company.com', 'useSSL ' => 'true', ], ], 'slack' => [ 'driver' => 'slack', 'url' => env('LOG_SLACK_WEBHOOK_URL'), 'username' => 'Laravel Log', 'emoji' => ':boom:', 'level' => 'critical', ], 'daily' => [ 'driver' => 'daily', 'path' => storage_path('logs/laravel.log'), 'level' => 'debug', 'days' => 7, ], 'custom' => [ 'driver' => 'custom', 'via' => App\Logging\LogentriesLogger::class, 'level' => 'debug', ], 'stderr' => [ 'driver' => 'monolog', 'handler' => StreamHandler::class, 'with' => [ 'stream' => 'php://stderr', ], ], 'syslog' => [ 'driver' => 'syslog', 'level' => 'debug', ], 'errorlog' => [ 'driver' => 'errorlog', 'level' => 'debug', ], ], ]; As extensoes de socket estao ativadas dentro e fora do docker , alguem me ajuda please? 
       
      nao sei mais o que fazer.
    • By Agner Souza Bezerra
      Como faço pra instalar a extensão pdo_dblib no Laradock, com a versão do PHP 7.1, apache2 e ubuntu 14.04?
×

Important Information

Ao usar o fórum, você concorda com nossos Terms of Use.