Skip to content

Snippet Code

Published: at 15.22 (1 min read)

Personal snippet code:

Table of contents

Open Table of contents

Dcker

Instalasi Laravel dengan Docker Container Temporary

docker run --rm \
    --pull=always \
    -v "$(pwd)":/opt \
    -w /opt \
    -it ramageek/image:php8.3-laravel \
    bash -c "/composer/vendor/bin/laravel new laravel-webapp"

Run shell in container temporary

docker run --rm --name php -it image:tag sh

Service Camunda Client

<?php

return [
    ...
    'camunda' => [
      'url' => env('CAMUNDA_URL', 'https://localhost:8080/engine-rest'),
      'user' => env('CAMUNDA_USER', 'demo'),
      'password' => env('CAMUNDA_PASSWORD', 'demo'),
      'tenant_id' => env('CAMUNDA_TENANT_ID', ''),
  ],
];