Última atualização: 26/11/2025
Documentação oficial: https://opentelemetry.io/docs/languages/php/instrumentation/
Versão mínima suportada: PHP 7.4+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| zlmediakit: | |
| image: zlmediakit/zlmediakit:master | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - capabilities: [gpu] | |
| environment: | |
| - NVIDIA_VISIBLE_DEVICES=all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias ps='docker compose ps --format "table {{.Name}}\t{{.Image}}\t{{.Ports}}\t{{.State}}\t{{.Status}}"' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Video: https://youtu.be/b-KFj8GfvzE | |
| # Full Backup | |
| mariadb-backup --backup \ | |
| --user=$DB_ROOT_USER \ | |
| --password=$DB_ROOT_PASSWORD \ | |
| --target-dir=$BACKUP_BASE_DIR | |
| # Incremental Backup | |
| mariadb-backup --backup \ | |
| --user=$DB_ROOT_USER \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "strings" | |
| ) | |
| func flattenMap(data map[string]any, prefix string, separator string) string { | |
| var result []string | |
| for key, value := range data { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| litellm: | |
| image: ghcr.io/berriai/litellm:main-latest | |
| container_name: glm-proxy | |
| ports: | |
| - "4000:4000" | |
| volumes: | |
| - ./litellm_config.yaml:/app/config.yaml | |
| command: --config /app/config.yaml | |
| restart: unless-stopped |
OlderNewer