# Instalação e configurações Shinobi

# Shinobi API

Link: [https://docs.shinobi.video/api](https://docs.shinobi.video/api)

# RESTful API

####  Simple and Efficient

Everything that the official dashboard does is through the Shinobi API. Meaning If you decide to build your own user interface or just using certain functions of Shinobi; The API will make quick work of it.

When you authenticate with Shinobi it will offer you an Authorization Token. This token is your Session Key as well and can be used as an API Key. This key will remain active for 15 minutes after the last acivity or while your WebSocket is connected.

####  Let's Begin

Create an API Key or Login to get started.

- [Authentication](https://docs.shinobi.video/api/authentication)
- [Managing API Keys](https://docs.shinobi.video/api/managing-api-keys-ui)

#### After Authentication

<div class="" id="bkmrk-managing-api-keys-by"><div class="" id="bkmrk-managing-api-keys-by-1">[Managing API Keys by UI](https://docs.shinobi.video/api/managing-api-keys-ui)</div><div class=""><span class="text-muted">/api/managing-api-keys-ui</span></div><div class=""></div></div><div class="" id="bkmrk-managing-api-keys-by-2"><div class="" id="bkmrk-managing-api-keys-by-3">[Managing API Keys by API](https://docs.shinobi.video/api/managing-api-keys-api)</div><div class=""><span class="text-muted">/api/managing-api-keys-api</span></div><div class=""></div></div><div class="" id="bkmrk-websocket-connection"><div class="" id="bkmrk-websocket-connection-1">[WebSocket Connection](https://docs.shinobi.video/api/api-connecting-websocket)</div><div class=""><span class="text-muted">/api/api-connecting-websocket</span></div><div class=""></div></div><div class="" id="bkmrk-get-monitors-%2Fapi%2Fge"><div class="" id="bkmrk-get-monitors">[Get Monitors](https://docs.shinobi.video/api/get-monitors)</div><div class=""><span class="text-muted">/api/get-monitors</span></div><div class=""></div></div><div class="" id="bkmrk-get-detection-events"><div class="" id="bkmrk-get-detection-events-1">[Get Detection Events](https://docs.shinobi.video/api/get-events)</div><div class=""><span class="text-muted">/api/get-events</span></div><div class=""></div></div><div class="" id="bkmrk-get-streams-%2Fapi%2Fget"><div class="" id="bkmrk-get-streams">[Get Streams](https://docs.shinobi.video/api/get-streams)</div><div class=""><span class="text-muted">/api/get-streams</span></div><div class=""></div></div><div class="" id="bkmrk-embedding-streams-%2Fa"><div class="" id="bkmrk-embedding-streams">[Embedding Streams](https://docs.shinobi.video/api/embedding-streams)</div><div class=""><span class="text-muted">/api/embedding-streams</span></div></div><div class="" id="bkmrk-get-videos-%2Fapi%2Fget-"><div class="" id="bkmrk-get-videos">  
[Get Videos](https://docs.shinobi.video/api/get-videos)</div><div class=""><span class="text-muted">/api/get-videos</span></div><div class=""></div></div><div class="" id="bkmrk-get-timelapse-%2Fapi%2Fg"><div class="" id="bkmrk-get-timelapse">[Get Timelapse](https://docs.shinobi.video/api/get-timelapse)</div><div class=""><span class="text-muted">/api/get-timelapse</span></div><div class=""></div></div><div class="" id="bkmrk-get-filebin-%2Fapi%2Fget"><div class="" id="bkmrk-get-filebin">[Get FileBin](https://docs.shinobi.video/api/get-fileBin)</div><div class=""><span class="text-muted">/api/get-fileBin</span></div><div class=""></div></div><div class="" id="bkmrk-custom-settings-%2Fapi"><div class="" id="bkmrk-custom-settings">[Custom Settings](https://docs.shinobi.video/api/custom-settings)</div><div class=""><span class="text-muted">/api/custom-settings</span></div><div class=""></div></div><div class="" id="bkmrk-add%2C-edit-or-delete-"><div class="" id="bkmrk-add%2C-edit-or-delete--1">[Add, Edit or Delete a Monitor](https://docs.shinobi.video/api/add-edit-or-delete-a-monitor)</div><div class=""><span class="text-muted">/api/add-edit-or-delete-a-monitor</span></div><div class=""></div></div><div class="" id="bkmrk-modifying-a-video-or"><div class="" id="bkmrk-modifying-a-video-or-1">[Modifying a Video or Deleting it](https://docs.shinobi.video/api/modifying-a-video-or-deleting-it)</div><div class=""><span class="text-muted">/api/modifying-a-video-or-deleting-it</span></div><div class=""></div></div><div class="" id="bkmrk-monitor-triggers-%2Fap"><div class="" id="bkmrk-monitor-triggers">[Monitor Triggers](https://docs.shinobi.video/api/monitor-triggers)</div><div class=""><span class="text-muted">/api/monitor-triggers</span></div><div class=""></div></div><div class="" id="bkmrk-superuser-%2Fapi%2Fsuper"><div class="" id="bkmrk-superuser">[Superuser](https://docs.shinobi.video/api/superuser-only)</div><div class=""><span class="text-muted">/api/superuser-only</span></div><div class=""></div></div><div class="" id="bkmrk-administrator-%2Fapi%2Fa"><div class="" id="bkmrk-administrator">[Administrator](https://docs.shinobi.video/api/administrator-only)</div><div class=""><span class="text-muted">/api/administrator-only</span></div><div class=""></div></div><div class="" id="bkmrk-monitor-presets-%2Fapi"><div class="" id="bkmrk-monitor-presets">[Monitor Presets](https://docs.shinobi.video/api/monitor-states-preset-configurations)</div><div class=""><span class="text-muted">/api/monitor-states-preset-configurations</span></div><div class=""></div></div><div class="" id="bkmrk-schedules-for-monito"><div class="" id="bkmrk-schedules-for-monito-1">[Schedules for Monitor Presets](https://docs.shinobi.video/api/scheduling-for-monitors)</div><div class=""><span class="text-muted">/api/scheduling-for-monitors</span></div><div class=""></div></div><div class="" id="bkmrk-system-%2Fapi%2Fsystem-t"><div class="" id="bkmrk-system">[System](https://docs.shinobi.video/api/system-triggers)</div><div class=""><span class="text-muted">/api/system-triggers</span></div><div class=""></div></div><div class="" id="bkmrk-onvif-management-thr"><div class="" id="bkmrk-onvif-management-thr-1">[ONVIF Management through Shinobi](https://docs.shinobi.video/api/direct-camera-management-via-onvif)</div><div class=""><span class="text-muted">/api/direct-camera-management-via-onvif</span></div></div>

# Instalação Shinobi Docker

Link: [https://gitlab.com/Shinobi-Systems/ShinobiDocker](https://gitlab.com/Shinobi-Systems/ShinobiDocker) git clone [https://gitlab.com/Shinobi-Systems/ShinobiDocker.git](https://gitlab.com/Shinobi-Systems/ShinobiDocker.git)

### [](https://gitlab.com/Shinobi-Systems/ShinobiDocker#install-shinobi-with-docker)Install Shinobi with Docker

#### [](https://gitlab.com/Shinobi-Systems/ShinobiDocker#2024-05-07)2024-05-07

[https://shinobi.video](https://shinobi.video/) [https://docs.shinobi.video/installation/docker](https://docs.shinobi.video/installation/docker)

### [](https://gitlab.com/Shinobi-Systems/ShinobiDocker#quick-install)Quick Install

1. Run this in terminal.  
    bash &lt;(curl -s [https://gitlab.com/Shinobi-Systems/Shinobi-Installer/raw/master/shinobi-docker.sh)](https://gitlab.com/Shinobi-Systems/Shinobi-Installer/raw/master/shinobi-docker.sh))

#### [](https://gitlab.com/Shinobi-Systems/ShinobiDocker#advanced-install)Advanced Install

1. Download this repository and enter it. 
    - If you **do not have Docker** installed run `sh INSTALL/docker.sh`.
2. Review and modify the `docker-compose.yml` file. 
    - Leave it as-is for default setup.
3. Run the preparation and starter script.  
    bash setup\_and\_run.sh

### [](https://gitlab.com/Shinobi-Systems/ShinobiDocker#once-installed)Once Installed

You will be asked if you want to use the included database, default is Yes. Once complete open port 8080 of your Docker host in a web browser.

> The following tables offer a breakdown of the configurations that control how the `shinobi` and `shinobi-sql` services are set up and interact within your Docker environment. Adjustments can be made to these values directly in the associated `docker-compose` files to modify the behavior of the deployment as needed.

#### [](https://gitlab.com/Shinobi-Systems/ShinobiDocker#docker-compose-sqlyml--shinobi-sql-service-environment-variables)`docker-compose-sql.yml` : `shinobi-sql`   
Service Environment Variables

<table data-sourcepos="32:1-37:98" dir="auto" id="bkmrk-variable-description"><thead><tr data-sourcepos="32:1-32:98"><th data-sourcepos="32:2-32:23">Variable</th><th data-sourcepos="32:25-32:78">Description</th><th data-sourcepos="32:80-32:97">Default Value</th></tr></thead><tbody><tr data-sourcepos="34:1-34:98"><td data-sourcepos="34:2-34:23">MYSQL\_ROOT\_PASSWORD</td><td data-sourcepos="34:25-34:78">The password for the MySQL root user.</td><td data-sourcepos="34:80-34:97">`rootpassword`</td></tr><tr data-sourcepos="35:1-35:98"><td data-sourcepos="35:2-35:23">MYSQL\_DATABASE</td><td data-sourcepos="35:25-35:78">The name of the database to create.</td><td data-sourcepos="35:80-35:97">`ccio`</td></tr><tr data-sourcepos="36:1-36:98"><td data-sourcepos="36:2-36:23">MYSQL\_USER</td><td data-sourcepos="36:25-36:78">The username for the database.</td><td data-sourcepos="36:80-36:97">`majesticflame`</td></tr><tr data-sourcepos="37:1-37:98"><td data-sourcepos="37:2-37:23">MYSQL\_PASSWORD</td><td data-sourcepos="37:25-37:78">The password for the database user.</td><td data-sourcepos="37:80-37:97">`1234`</td></tr></tbody></table>

#### [](https://gitlab.com/Shinobi-Systems/ShinobiDocker#docker-compose-mainyml--shinobi-service-build-arguments-and-environment-variables)  
`docker-compose-main.yml` : `shinobi`   
Service Build Arguments and Environment Variables

#### [](https://gitlab.com/Shinobi-Systems/ShinobiDocker#build-arguments)Build Arguments

<table data-sourcepos="43:1-45:115" dir="auto" id="bkmrk-argument-description"><thead><tr data-sourcepos="43:1-43:97"><th data-sourcepos="43:2-43:20">Argument</th><th data-sourcepos="43:22-43:80">Description</th><th data-sourcepos="43:82-43:96">Default Value</th></tr></thead><tbody><tr data-sourcepos="45:1-45:115"><td data-sourcepos="45:2-45:20">SHINOBI\_BRANCH</td><td data-sourcepos="45:22-45:98">The branch of the Shinobi git repository to clone during the build process.</td><td data-sourcepos="45:100-45:114">`dev`</td></tr></tbody></table>

#### [](https://gitlab.com/Shinobi-Systems/ShinobiDocker#environment-variables)Environment Variables

<table data-sourcepos="49:1-56:98" dir="auto" id="bkmrk-variable-description-1"><thead><tr data-sourcepos="49:1-49:92"><th data-sourcepos="49:2-49:20">Variable</th><th data-sourcepos="49:22-49:75">Description</th><th data-sourcepos="49:77-49:91">Default Value</th></tr></thead><tbody><tr data-sourcepos="51:1-51:94"><td data-sourcepos="51:2-51:20">HOME</td><td data-sourcepos="51:22-51:75">The home directory path within the container.</td><td data-sourcepos="51:77-51:93">`/home/Shinobi`</td></tr><tr data-sourcepos="52:1-52:94"><td data-sourcepos="52:2-52:20">DB\_HOST</td><td data-sourcepos="52:22-52:75">Hostname of the MySQL database server.</td><td data-sourcepos="52:77-52:93">`shinobi-sql`</td></tr><tr data-sourcepos="53:1-53:94"><td data-sourcepos="53:2-53:20">DB\_USER</td><td data-sourcepos="53:22-53:75">Username to connect to the MySQL database.</td><td data-sourcepos="53:77-53:93">`majesticflame`</td></tr><tr data-sourcepos="54:1-54:94"><td data-sourcepos="54:2-54:20">DB\_PASSWORD</td><td data-sourcepos="54:22-54:75">Password to connect to the MySQL database.</td><td data-sourcepos="54:77-54:93">`1234`</td></tr><tr data-sourcepos="55:1-55:94"><td data-sourcepos="55:2-55:20">DB\_DATABASE</td><td data-sourcepos="55:22-55:75">Name of the MySQL database to use.</td><td data-sourcepos="55:77-55:93">`ccio`</td></tr><tr data-sourcepos="56:1-56:98"><td data-sourcepos="56:2-56:20">SHINOBI\_UPDATE</td><td data-sourcepos="56:22-56:82">Whether to pull updates from git when the container starts.</td><td data-sourcepos="56:84-56:97">`false`</td></tr></tbody></table>

 **Script Failing? Run this.**

**`apt install dos2unix -y && dos2unix entrypoint.sh && chmod +x entrypoint.sh && dos2unix setup_and_run.sh && chmod +x setup_and_run.sh && bash setup_and_run.sh`**

# Instalação Shinobi Docker Desktop Windows

<span style="color: rgb(255, 255, 255);">Link: [https://docs.shinobi.video/installation/docker-windows](https://docs.shinobi.video/installation/docker-windows)</span>

# <span style="color: rgb(255, 255, 255);">Running Shinobi in Windows Docker Desktop</span>

###### <span style="color: rgb(255, 255, 255);">A step-by-step tutorial on how to install and run Shinobi using Docker on Windows. By following these instructions, you’ll have Shinobi up and running in a container, accessible through your web browser.</span>

<span style="color: rgb(255, 255, 255);">Below is a step-by-step tutorial on how to install and run Shinobi using Docker on Windows. By following these instructions, you’ll have Shinobi up and running in a container, accessible through your web browser.</span>

<span style="color: rgb(255, 255, 255);">Also Thanks to **warbleeder** in the <a style="color: rgb(255, 255, 255);">Community Chat </a>for putting the information together for this document to be written!</span>

<div class="" id="bkmrk-community-chat-%3A%C2%A0htt" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">Community Chat : <a style="color: rgb(255, 255, 255);">https://shinobi.community</a></span>

---

</div>#### <span style="color: rgb(255, 255, 255);"> 1. Download &amp; Install Docker for Windows</span>

<div class="" id="bkmrk-download-docker%3A-cli" style="text-align: justify;">1. <span style="color: rgb(255, 255, 255);">**Download Docker:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);"><a style="color: rgb(255, 255, 255);"><span class="">Click here </span></a>to download the Docker Desktop Installer for Windows.</span>
        
        
        - <span style="color: rgb(255, 255, 255);"><a style="color: rgb(255, 255, 255);">https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe?utm\_source=docker&amp;amp;utm\_medium=webreferral&amp;amp;utm\_campaign=docs-driven-download-win-amd64</a></span>
2. <span style="color: rgb(255, 255, 255);">**Install Docker:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">Run the **Docker Desktop Installer** you just downloaded.</span>
    - <span style="color: rgb(255, 255, 255);">During the installation wizard, ensure that **WSL (Windows Subsystem for Linux)** is checked.</span>
    - <span style="color: rgb(255, 255, 255);">After the installation completes, **reboot** your system when prompted.</span>

---

</div>#### <span style="color: rgb(255, 255, 255);"> 2. Initial Docker Configuration</span>

<div class="" id="bkmrk-open-docker-desktop%3A" style="text-align: justify;">1. <span style="color: rgb(255, 255, 255);">**Open Docker Desktop:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">After rebooting, launch **Docker Desktop** .</span>
    - <span style="color: rgb(255, 255, 255);">It may prompt you for an email address. You can skip this step.</span>
    - <span style="color: rgb(255, 255, 255);">Proceed through the next couple of setup screens until Docker finishes its initial configuration.</span>
2. <span style="color: rgb(255, 255, 255);">**Enable Host Networking:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">Once Docker is running, click the **Settings** icon (gear icon at the top-right of the Docker Desktop window).</span>
    - <span style="color: rgb(255, 255, 255);">Go to **Resources** → **Network** .</span>
    - <span style="color: rgb(255, 255, 255);">Check the box for **Enable host networking** .</span>
    - <span style="color: rgb(255, 255, 255);">Click **Apply &amp; Restart** .</span>
    - <span style="color: rgb(255, 255, 255);">Wait for Docker to restart; if a prompt appears to cancel or continue, click **Cancel** to return to the main screen.</span>

---

</div>#### <span style="color: rgb(255, 255, 255);"> 3. Pull the Shinobi Image</span>

<div class="" id="bkmrk-open-the-built-in-te" style="text-align: justify;">1. <span style="color: rgb(255, 255, 255);">**Open the Built-in Terminal:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">In Docker Desktop, look to the bottom-right corner and click the **Terminal** icon.</span>
    - <span style="color: rgb(255, 255, 255);">Click **Enable** to activate the integrated terminal.</span>
2. <span style="color: rgb(255, 255, 255);">**Pull the Shinobi Image:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">In the terminal, copy and paste or type:</span>

</div>```
docker pull registry.gitlab.com/shinobi-systems/shinobi:dev
```

<div class="" id="bkmrk-press%C2%A0enter%C2%A0.-docker" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">Press **Enter** . Docker will download the Shinobi image, which may take a few minutes depending on your connection.</span>

---

</div>#### <span style="color: rgb(255, 255, 255);"> 4. Run the Shinobi Container</span>

<div class="" id="bkmrk-copy-the-image-id%3A-o" style="text-align: justify;">1. <span style="color: rgb(255, 255, 255);">**Copy the Image ID:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">Once the pull is complete, click on the **Images** tab in Docker Desktop.</span>
    - <span style="color: rgb(255, 255, 255);">Locate the Shinobi image you just downloaded.</span>
    - <span style="color: rgb(255, 255, 255);">Next to the image, click the **copy** button to copy the image’s **ID** (it will be in the form of a long **sha256** hash).</span>
2. <span style="color: rgb(255, 255, 255);">**Start the Container:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">Return to the **Terminal** in Docker Desktop.</span>
    - <span style="color: rgb(255, 255, 255);">Type the following command, replacing `<Image_ID> `with the ID you copied:</span>

</div>```
docker run -d -p 8080:8080 <Image_ID>
```

<div class="" id="bkmrk-for-example-%28with-a-" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">For example (with a sample ID):</span>

</div>```
docker run -d -p 8080:8080 sha256:f3f6ed55e741e260c0b975f8d89f1358018b53ab28b9887ae00e363fd2e3423c
```

<div class="" id="bkmrk-press%C2%A0enter%C2%A0to-launc" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">Press **Enter** to launch the Shinobi container.</span>

</div><span style="color: rgb(255, 255, 255);">**3. Confirm the Container is Running:**</span>

<div class="" id="bkmrk-click-on%C2%A0containers%C2%A0" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">Click on **Containers** in Docker Desktop.</span>
- <span style="color: rgb(255, 255, 255);">You should see your new container listed and its status should be green, indicating it’s running successfully.</span>

---

</div>#### <span style="color: rgb(255, 255, 255);"> 5. Access Shinobi in Your Browser</span>

<div class="" id="bkmrk-open-shinobi-superus" style="text-align: justify;">1. <span style="color: rgb(255, 255, 255);">**Open Shinobi Superuser Interface:**</span>
    
    
    - <span style="color: rgb(255, 255, 255);">Launch your web browser and navigate to:</span>

</div>```
http://localhost:8080/super
```

<span style="color: rgb(255, 255, 255);">**2. Log In with Default Credentials:**</span>

<div class="" id="bkmrk-default-superuser-em" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">**Default Superuser Email:** `admin@shinobi.video`</span>
- <span style="color: rgb(255, 255, 255);">**Default Password:** `admin`</span>

</div><span style="color: rgb(255, 255, 255);">**3. Explore Shinobi:**</span>

<span style="color: rgb(255, 255, 255);">Once logged in, you can manage and customize your Shinobi installation as needed.</span>

<div class="" id="bkmrk-" style="text-align: justify;">---

</div>#### <span style="color: rgb(255, 255, 255);"> 6. Troubleshooting &amp; Support</span>

<div class="" id="bkmrk-if-you-encounter-any" style="text-align: justify;">- <span style="color: rgb(255, 255, 255);">If you encounter any issues:</span>
    - <span style="color: rgb(255, 255, 255);">Make sure Docker Desktop is running.</span>
    - <span style="color: rgb(255, 255, 255);">Ensure you’ve enabled WSL integration and host networking.</span>
    - <span style="color: rgb(255, 255, 255);">Confirm that your container is active and not stopped.</span>
    - <span style="color: rgb(255, 255, 255);">Double-check you’re using the correct port (8080).</span>
- <span style="color: rgb(255, 255, 255);">For further help, you can reach out on <a style="color: rgb(255, 255, 255);">Discord </a>, user **warbleeder** has been gracious to volunteer in helping users with questions or issues in relation to using Docker Desktop on Windows.</span>

---

</div>### <span style="color: rgb(255, 255, 255);">That’s it!</span>

<span style="color: rgb(255, 255, 255);">You have successfully installed and launched Shinobi on Windows using Docker. You can now explore camera setup, motion detection, video recording, and all the other powerful features Shinobi has to offer. Enjoy!</span>

# Recriação de tabela Files do Shinobi Docker

ChatGPT:

\- Acessar banco de dados do Shinobi em container docker:

<div id="bkmrk-use-ccio%3B">docker exec -ti shinobi_db bash</div><div id="bkmrk-"></div><div id="bkmrk---dentro-do-containe">- Dentro do container docker</div><div id="bkmrk-mysql--uroot--p-blub">**mysql -uroot -p blubsblawoot ccio;**</div><div id="bkmrk---aparecendo-o-promp">  
- Aparecendo o promp  **"MariaDB \[ccio\]&gt;"** , executar os comandos abaixo:  
</div><div id="bkmrk--1"></div><div id="bkmrk-drop-table-if-exists">DROP TABLE IF EXISTS `Files`;</div><div id="bkmrk--2">  
</div><div id="bkmrk-create-table-%60files%60">CREATE TABLE `Files` (</div><div id="bkmrk-%C2%A0-%60ke%60-varchar%2850%29-n"> `ke` varchar(50) NOT NULL,</div><div id="bkmrk-%C2%A0-%60mid%60-varchar%2850%29-"> `mid` varchar(50) NOT NULL,</div><div id="bkmrk-%C2%A0-%60name%60-varchar%28255"> `name` varchar(255) NOT NULL,</div><div id="bkmrk-%C2%A0-%60size%60-bigint%2820%29-"> `size` bigint(20) DEFAULT NULL,</div><div id="bkmrk-%C2%A0-%60details%60-longtext"> `details` longtext,</div><div id="bkmrk-%C2%A0-%60status%60-varchar%282"> `status` varchar(20) DEFAULT NULL,</div><div id="bkmrk-%C2%A0-%60end%60-datetime-def"> `end` datetime DEFAULT NULL,</div><div id="bkmrk-%C2%A0-%60time%60-datetime-de"> `time` datetime DEFAULT NULL,</div><div id="bkmrk-%C2%A0-%60timezone%60-varchar"> `timeZone` varchar(64) DEFAULT NULL,</div><div id="bkmrk-%C2%A0-%60deleteafterdays%60-"> `deleteAfterDays` int(11) DEFAULT NULL,</div><div id="bkmrk-%C2%A0-%60monname%60-varchar%28"> `monName` varchar(255) DEFAULT NULL,</div><div id="bkmrk-%C2%A0-key-%60ke%60-%28%60ke%60%29%2C"> KEY `ke` (`ke`),</div><div id="bkmrk-%C2%A0-key-%60mid%60-%28%60mid%60%29%2C"> KEY `mid` (`mid`),</div><div id="bkmrk-%C2%A0-key-%60time%60-%28%60time%60"> KEY `time` (`time`)</div><div id="bkmrk-%29-engine%3Dinnodb-defa">) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;</div><div id="bkmrk--3"></div><div id="bkmrk---sair-do-container-">- Sair do container com CTRL+p+q</div><div id="bkmrk--4"></div>