-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
110 additions
and
210 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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Contributing | ||
|
||
## Development | ||
|
||
1. Build locally. | ||
|
||
```sh | ||
bin/build | ||
``` | ||
|
||
2. Run locally. | ||
|
||
```sh | ||
cp .env{.example,} | ||
nano .env | ||
docker-compose up | ||
``` | ||
|
||
## Publishing | ||
|
||
1. Build and publish. | ||
|
||
```sh | ||
git add ... | ||
git commit | ||
git tag -a 0.1.0 -m v0.1.1 # If you want to publish | ||
git push --tags | ||
``` | ||
|
||
2. Check dockerhub | ||
|
||
## License | ||
|
||
Please refer to [LICENSE](LICENSE). | ||
|
||
## Authors | ||
|
||
* IBM Developer Skills Network |
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 |
---|---|---|
@@ -1,42 +1,5 @@ | ||
[![Build Status](https://travis.ibm.com/bdu/gamora.svg?token=sEYcW68KU3tGRyi3z1eH&branch=master)](https://travis.ibm.com/bdu/gamora) | ||
# Backwork | ||
|
||
# Gamora | ||
|
||
Automated backups for MySQL, Mongo, and file paths using the Monsoon library. | ||
Automated backups for MySQL, Mongo, and file paths using the Backwork library. | ||
|
||
## Development | ||
|
||
1. Build locally. | ||
|
||
```sh | ||
bin/build | ||
``` | ||
|
||
2. Run locally. | ||
|
||
```sh | ||
cp .env{.example,} | ||
nano .env | ||
docker-compose up | ||
``` | ||
|
||
## Production | ||
|
||
1. Build and publish. | ||
|
||
```sh | ||
git add ... | ||
git commit | ||
git tag -a 0.1.0 -m v0.1.1 # If you want to publish | ||
git push --tags | ||
``` | ||
|
||
2. Check [Travis](https://travis.ibm.com/bdu/gamora/builds). | ||
|
||
## License | ||
|
||
Please refer to [LICENSE](LICENSE). | ||
|
||
## Authors | ||
|
||
* Partner Ecosystem Team, IBM Digital Business Group <mailto:[email protected]> |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
FROM python:3.7.4-alpine3.9 | ||
LABEL maintainer="[email protected]" | ||
|
||
# Install database clients | ||
# Apply security patches | ||
# hadolint ignore=DL3018 | ||
RUN echo 'http://dl-3.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories \ | ||
&& echo 'http://dl-3.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories \ | ||
&& apk add --no-cache \ | ||
bash \ | ||
curl \ | ||
libressl \ | ||
mariadb-client \ | ||
mongodb-tools \ | ||
mysql \ | ||
postgresql \ | ||
tini \ | ||
&& apk add --upgrade --no-cache \ | ||
db \ | ||
expat \ | ||
freetype \ | ||
fontconfig \ | ||
libpng \ | ||
ncurses \ | ||
zlib | ||
|
||
RUN curl -sL https://sentry.io/get-cli/ | bash | ||
|
||
########## | ||
# Backwork | ||
########## | ||
|
||
COPY requirements.txt ./ | ||
RUN pip install -r ./requirements.txt | ||
|
||
COPY ./docker-entrypoint.sh / | ||
|
||
VOLUME ["/backups"] | ||
ENTRYPOINT ["/sbin/tini", "--"] | ||
CMD ["/docker-entrypoint.sh"] |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
contextlib2==0.5.4 | ||
httplib2==0.9.2 | ||
backwork==0.3.0 | ||
backwork-backup-files==0.3.0 | ||
backwork-backup-mongo==0.3.0 | ||
backwork-backup-mysql==0.3.0 | ||
backwork-backup-postgresql==0.2.1 | ||
backwork-notifier-sentry==0.2.0 | ||
backwork-upload-softlayer==0.2.1 | ||
backwork-upload-cos==0.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
Oops, something went wrong.