This repository was archived by the owner on Nov 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updated dockerfile for using base os as ubuntu & recent version…
…s of different components
- Loading branch information
1 parent
10f88c4
commit 4a6e90c
Showing
10 changed files
with
194 additions
and
201 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,34 +7,34 @@ MGOB is a MongoDB backup automation tool built with Go. | |
|
||
#### Features | ||
|
||
* schedule backups | ||
* local backups retention | ||
* upload to S3 Object Storage (Minio, AWS, Google Cloud, Azure) | ||
* upload to gcloud storage | ||
* upload to SFTP | ||
* upload to any [Rclone](https://rclone.org/) supported storage | ||
* notifications (Email, Slack) | ||
* instrumentation with Prometheus | ||
* http file server for local backups and logs | ||
* distributed as an Alpine Docker image | ||
- schedule backups | ||
- local backups retention | ||
- upload to S3 Object Storage (Minio, AWS, Google Cloud, Azure) | ||
- upload to gcloud storage | ||
- upload to SFTP | ||
- upload to any [Rclone](https://rclone.org/) supported storage | ||
- notifications (Email, Slack) | ||
- instrumentation with Prometheus | ||
- http file server for local backups and logs | ||
- distributed as an Alpine Docker image | ||
|
||
#### Install | ||
|
||
MGOB is available on Docker Hub at [stefanprodan/mgob](https://hub.docker.com/r/stefanprodan/mgob/). | ||
|
||
Supported tags: | ||
|
||
* `stefanprodan/mgob:latest` latest stable [release](https://github.com/stefanprodan/mgob/releases) | ||
* `stefanprodan/mgob:edge` master branch latest successful [build](https://travis-ci.org/stefanprodan/mgob) | ||
- `stefanprodan/mgob:latest` latest stable [release](https://github.com/stefanprodan/mgob/releases) | ||
- `stefanprodan/mgob:edge` master branch latest successful [build](https://travis-ci.org/stefanprodan/mgob) | ||
|
||
Compatibility matrix: | ||
|
||
MGOB| MongoDB | ||
-----|-------- | ||
`stefanprodan/mgob:0.9` | 3.4 | ||
`stefanprodan/mgob:0.10` | 3.6 | ||
`stefanprodan/mgob:1.0` | 4.0 | ||
`stefanprodan/mgob:1.1` | 4.2 | ||
| MGOB | MongoDB | | ||
| ------------------------ | ------- | | ||
| `stefanprodan/mgob:0.9` | 3.4 | | ||
| `stefanprodan/mgob:0.10` | 3.6 | | ||
| `stefanprodan/mgob:1.0` | 4.0 | | ||
| `stefanprodan/mgob:1.1` | 4.2 | | ||
|
||
Docker: | ||
|
||
|
@@ -90,7 +90,7 @@ encryption: | |
keyServer: hkps://keys.openpgp.org | ||
# optional list of recipients, they will be looked up on key server | ||
recipients: | ||
- [email protected] | ||
- [email protected] | ||
# S3 upload (optional) | ||
s3: | ||
url: "https://play.minio.io:9000" | ||
|
@@ -99,12 +99,12 @@ s3: | |
accessKey: "Q3AM3UQ867SPQQA43P2F" | ||
secretKey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" | ||
# Optional, only used for AWS (when awscli is present) | ||
# The customer-managed AWS Key Management Service (KMS) key ID that should be used to | ||
# The customer-managed AWS Key Management Service (KMS) key ID that should be used to | ||
# server-side encrypt the backup in S3 | ||
#kmsKeyId: | ||
# Optional, only used for AWS (when awscli is present) | ||
# Valid choices are: STANDARD | REDUCED_REDUNDANCY | STANDARD_IA | ONE- | ||
# ZONE_IA | INTELLIGENT_TIERING | GLACIER | DEEP_ARCHIVE. | ||
# ZONE_IA | INTELLIGENT_TIERING | GLACIER | DEEP_ARCHIVE. | ||
# Defaults to 'STANDARD' | ||
#storageClass: STANDARD | ||
# For Minio and AWS use S3v4 for GCP use S3v2 | ||
|
@@ -176,15 +176,15 @@ target: | |
#### Web API | ||
* `mgob-host:8090/storage` file server | ||
* `mgob-host:8090/status` backup jobs status | ||
* `mgob-host:8090/metrics` Prometheus endpoint | ||
* `mgob-host:8090/version` mgob version and runtime info | ||
* `mgob-host:8090/debug` pprof endpoint | ||
- `mgob-host:8090/storage` file server | ||
- `mgob-host:8090/status` backup jobs status | ||
- `mgob-host:8090/metrics` Prometheus endpoint | ||
- `mgob-host:8090/version` mgob version and runtime info | ||
- `mgob-host:8090/debug` pprof endpoint | ||
|
||
On demand backup: | ||
|
||
* HTTP POST `mgob-host:8090/backup/:planID` | ||
- HTTP POST `mgob-host:8090/backup/:planID` | ||
|
||
```bash | ||
curl -X POST http://mgob-host:8090/backup/mongo-debug | ||
|
@@ -202,8 +202,8 @@ curl -X POST http://mgob-host:8090/backup/mongo-debug | |
|
||
Scheduler status: | ||
|
||
* HTTP GET `mgob-host:8090/status` | ||
* HTTP GET `mgob-host:8090/status/:planID` | ||
- HTTP GET `mgob-host:8090/status` | ||
- HTTP GET `mgob-host:8090/status/:planID` | ||
|
||
```bash | ||
curl -X GET http://mgob-host:8090/status/mongo-debug | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ description: | | |
name: mgob | ||
version: 1.0.0 | ||
sources: | ||
- https://github.com/stefanprodan/mgob | ||
- https://github.com/stefanprodan/mgob | ||
maintainers: | ||
- name: endrec | ||
email: [email protected] | ||
- name: endrec | ||
email: [email protected] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,33 +7,34 @@ Runs scheduled backups with retention, S3 & SFTP upload, notifications, instrume | |
|
||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| endrec | [email protected] | | | ||
| Name | Email | Url | | ||
| ------ | -------------------------- | --- | | ||
| endrec | [email protected] | | | ||
|
||
## Source Code | ||
|
||
* <https://github.com/stefanprodan/mgob> | ||
- <https://github.com/stefanprodan/mgob> | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| config | object | `{}` | Backup plans. For details, see [values.yaml](values.yaml) | | ||
| env | object | `{}` | | | ||
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy | | ||
| image.repository | string | `"stefanprodan/mgob"` | Image repo | | ||
| image.tag | float | `1.1` | Image tag | | ||
| replicaCount | int | `1` | Number of replicas | | ||
| resources | object | `{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}` | Resource requests and limits ref: http://kubernetes.io/docs/user-guide/compute-resources/ | | ||
| secret | object | `{}` | Secret(s) to mount. For details, see [values.yaml](values.yaml) | | ||
| service.externalPort | int | `8090` | Port to access the service | | ||
| service.internalPort | int | `8090` | Port to connect to in pod | | ||
| service.name | string | `"mgob"` | Service name | | ||
| serviceAccount.annotations | object | `{}` | Annotations to add on service account | | ||
| serviceAccount.create | bool | `true` | If false, default service account will be used | | ||
| storage.longTerm | object | `{"accessMode":"ReadWriteOnce","name":"mgob-storage","size":"10Gi","storageClass":"gp2"}` | Persistent volume for backups, see `config.retention` | | ||
| storage.tmp | object | `{"accessMode":"ReadWriteOnce","name":"mgob-tmp","size":"3Gi","storageClass":"gp2"}` | Persistent volume for temporary files | | ||
|
||
---------------------------------------------- | ||
| Key | Type | Default | Description | | ||
| -------------------------- | ------ | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | | ||
| config | object | `{}` | Backup plans. For details, see [values.yaml](values.yaml) | | ||
| env | object | `{}` | | | ||
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy | | ||
| image.repository | string | `"stefanprodan/mgob"` | Image repo | | ||
| image.tag | float | `1.1` | Image tag | | ||
| replicaCount | int | `1` | Number of replicas | | ||
| resources | object | `{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}` | Resource requests and limits ref: http://kubernetes.io/docs/user-guide/compute-resources/ | | ||
| secret | object | `{}` | Secret(s) to mount. For details, see [values.yaml](values.yaml) | | ||
| service.externalPort | int | `8090` | Port to access the service | | ||
| service.internalPort | int | `8090` | Port to connect to in pod | | ||
| service.name | string | `"mgob"` | Service name | | ||
| serviceAccount.annotations | object | `{}` | Annotations to add on service account | | ||
| serviceAccount.create | bool | `true` | If false, default service account will be used | | ||
| storage.longTerm | object | `{"accessMode":"ReadWriteOnce","name":"mgob-storage","size":"10Gi","storageClass":"gp2"}` | Persistent volume for backups, see `config.retention` | | ||
| storage.tmp | object | `{"accessMode":"ReadWriteOnce","name":"mgob-tmp","size":"3Gi","storageClass":"gp2"}` | Persistent volume for temporary files | | ||
|
||
--- | ||
|
||
Autogenerated from chart metadata using [helm-docs v1.3.0](https://github.com/norwoodj/helm-docs/releases/v1.3.0) |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.