@@ -30,6 +30,6 @@ environments on a single machine with nginx-proxy integration.
|
|||||||
buque stats --continuous # Monitor containers
|
buque stats --continuous # Monitor containers
|
||||||
|
|
||||||
📚 Documentation:
|
📚 Documentation:
|
||||||
https://github.com/yourusername/buque
|
https://github.com/manalejandro/buque
|
||||||
|
|
||||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
|||||||
@@ -57,5 +57,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Flexible environment selection
|
- Flexible environment selection
|
||||||
- Global configuration file support
|
- Global configuration file support
|
||||||
|
|
||||||
[Unreleased]: https://github.com/yourusername/buque/compare/v1.0.0...HEAD
|
[Unreleased]: https://github.com/manalejandro/buque/compare/v1.0.0...HEAD
|
||||||
[1.0.0]: https://github.com/yourusername/buque/releases/tag/v1.0.0
|
[1.0.0]: https://github.com/manalejandro/buque/releases/tag/v1.0.0
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ Enhancement suggestions are tracked as GitHub issues. When creating an enhanceme
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone your fork
|
# Clone your fork
|
||||||
git clone https://github.com/yourusername/buque.git
|
git clone https://github.com/manalejandro/buque.git
|
||||||
cd buque
|
cd buque
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the repository
|
# Clone the repository
|
||||||
git clone https://github.com/yourusername/buque.git
|
git clone https://github.com/manalejandro/buque.git
|
||||||
cd buque
|
cd buque
|
||||||
|
|
||||||
# Build and install
|
# Build and install
|
||||||
@@ -39,7 +39,7 @@ make build
|
|||||||
### Using Go Install
|
### Using Go Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go install github.com/yourusername/buque/cmd/buque@latest
|
go install github.com/manalejandro/buque/cmd/buque@latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
@@ -408,8 +408,8 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
|
|||||||
|
|
||||||
If you encounter any issues or have questions:
|
If you encounter any issues or have questions:
|
||||||
|
|
||||||
- Open an issue on [GitHub](https://github.com/yourusername/buque/issues)
|
- Open an issue on [GitHub](https://github.com/manalejandro/buque/issues)
|
||||||
- Check the [documentation](https://github.com/yourusername/buque/wiki)
|
- Check the [documentation](https://github.com/manalejandro/buque/wiki)
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ buque stats --continuous
|
|||||||
### As Library
|
### As Library
|
||||||
Developers can import and use internal packages:
|
Developers can import and use internal packages:
|
||||||
```go
|
```go
|
||||||
import "github.com/yourusername/buque/internal/docker"
|
import "github.com/manalejandro/buque/internal/docker"
|
||||||
|
|
||||||
compose, _ := docker.NewComposeManager()
|
compose, _ := docker.NewComposeManager()
|
||||||
compose.Up(ctx, environment, true)
|
compose.Up(ctx, environment, true)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
### Install from source
|
### Install from source
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/yourusername/buque.git
|
git clone https://github.com/manalejandro/buque.git
|
||||||
cd buque
|
cd buque
|
||||||
make install
|
make install
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -6,10 +6,10 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/yourusername/buque/internal/config"
|
"github.com/manalejandro/buque/internal/config"
|
||||||
"github.com/yourusername/buque/internal/docker"
|
"github.com/manalejandro/buque/internal/docker"
|
||||||
"github.com/yourusername/buque/internal/models"
|
"github.com/manalejandro/buque/internal/models"
|
||||||
"github.com/yourusername/buque/internal/stats"
|
"github.com/manalejandro/buque/internal/stats"
|
||||||
)
|
)
|
||||||
|
|
||||||
// This is an example of using Buque as a library in your own Go code
|
// This is an example of using Buque as a library in your own Go code
|
||||||
|
|||||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
|||||||
module github.com/yourusername/buque
|
module github.com/manalejandro/buque
|
||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/yourusername/buque/internal/docker"
|
"github.com/manalejandro/buque/internal/docker"
|
||||||
)
|
)
|
||||||
|
|
||||||
var upCmd = &cobra.Command{
|
var upCmd = &cobra.Command{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/yourusername/buque/internal/models"
|
"github.com/manalejandro/buque/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
var envCmd = &cobra.Command{
|
var envCmd = &cobra.Command{
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/yourusername/buque/internal/docker"
|
"github.com/manalejandro/buque/internal/docker"
|
||||||
"github.com/yourusername/buque/internal/models"
|
"github.com/manalejandro/buque/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
var logsCmd = &cobra.Command{
|
var logsCmd = &cobra.Command{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/yourusername/buque/internal/proxy"
|
"github.com/manalejandro/buque/internal/proxy"
|
||||||
)
|
)
|
||||||
|
|
||||||
var proxyCmd = &cobra.Command{
|
var proxyCmd = &cobra.Command{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/yourusername/buque/internal/config"
|
"github.com/manalejandro/buque/internal/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/yourusername/buque/internal/models"
|
"github.com/manalejandro/buque/internal/models"
|
||||||
"github.com/yourusername/buque/internal/stats"
|
"github.com/manalejandro/buque/internal/stats"
|
||||||
)
|
)
|
||||||
|
|
||||||
var statsCmd = &cobra.Command{
|
var statsCmd = &cobra.Command{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/yourusername/buque/internal/models"
|
"github.com/manalejandro/buque/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// getEnvironmentsToProcess returns environments to process based on args
|
// getEnvironmentsToProcess returns environments to process based on args
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/yourusername/buque/internal/models"
|
"github.com/manalejandro/buque/internal/models"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import (
|
|||||||
"github.com/docker/docker/api/types/container"
|
"github.com/docker/docker/api/types/container"
|
||||||
"github.com/docker/docker/api/types/filters"
|
"github.com/docker/docker/api/types/filters"
|
||||||
"github.com/docker/docker/client"
|
"github.com/docker/docker/client"
|
||||||
"github.com/yourusername/buque/internal/models"
|
"github.com/manalejandro/buque/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Client wraps Docker client operations
|
// Client wraps Docker client operations
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/yourusername/buque/internal/models"
|
"github.com/manalejandro/buque/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ComposeManager manages Docker Compose operations
|
// ComposeManager manages Docker Compose operations
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/yourusername/buque/internal/docker"
|
"github.com/manalejandro/buque/internal/docker"
|
||||||
"github.com/yourusername/buque/internal/models"
|
"github.com/manalejandro/buque/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import (
|
|||||||
"sort"
|
"sort"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/yourusername/buque/internal/docker"
|
"github.com/manalejandro/buque/internal/docker"
|
||||||
"github.com/yourusername/buque/internal/models"
|
"github.com/manalejandro/buque/internal/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Collector collects and manages container statistics
|
// Collector collects and manages container statistics
|
||||||
|
|||||||
Referencia en una nueva incidencia
Block a user