-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDKTECHNO-271: add app for apps storages backup-restore
- Loading branch information
1 parent
71ed690
commit 6aaa1af
Showing
207 changed files
with
3,944 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
technologies/app/saagie-app-storages-backup-restore/README.md
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,28 @@ | ||
# Saagie backup_restore_apps | ||
|
||
## Description | ||
|
||
TODO | ||
|
||
## How to launch it | ||
|
||
TODO | ||
|
||
## Description | ||
|
||
### Variables d'environnement | ||
- `BACKUP_LIST_APP_ID`: Liste des ID d'applications à sauvegarder | ||
- `BACKUP_URL`: URL de Saagie | ||
- `BACKUP_USER`: Utilisateur de Saagie | ||
- `BACKUP_PASSWORD`: Mot de passe de Saagie | ||
- `BACKUP_PF_ID`: ID de la plateforme de Saagie | ||
- `BACKUP_S3_ENDPOINT`: Endpoint de l'objet de stockage | ||
- `BACKUP_REGION_NAME`: Nom de la région de l'objet de stockage | ||
- `BACKUP_S3_ACCESS_KEY_ID`: Clé d'accès de l'objet de stockage | ||
- `BACKUP_S3_SECRET_ACCESS_KEY`: Clé secrète de l'objet de stockage | ||
- `BACKUP_STORAGE_FOLDER`: Dossier de stockage, Path directory on image | ||
- `BACKUP_S3_BUCKET_NAME`: Nom du bucket de l'objet de stockage où sauvegarder les apps | ||
- `BACKUP_S3_PREFIX`: Préfixe du bucket de l'objet de stockage où sauvegarder les apps | ||
- `BACKUP_APP_PROJECT_ID`: ID du projet de l'app | ||
- `BACKUP_TMP_APP_PREFIX`: Préfixe nom de l'app temporaire | ||
- `REACT_VERSION`: Version of React. In order to use dash-mantine-components>=0.14, you have to set up this variable to `18.2.0` |
32 changes: 32 additions & 0 deletions
32
technologies/app/saagie-app-storages-backup-restore/metadata.yaml
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,32 @@ | ||
version: v1 | ||
type: APP | ||
id: saagie-app-storages-backup-restore | ||
label: Saagie App Storages Backup Restore | ||
baseline: "Saagie App Storages Backup Restore is a Saagie application that allows you to backup and restore your Saagie platform storages." | ||
description: "Saagie App Storages Backup Restore is a Saagie application that allows you to backup and restore your Saagie platform storages." | ||
available: true | ||
icon: project-activity | ||
defaultResources: | ||
cpu: | ||
limit: 1 | ||
memory: | ||
limit: 2 GiB | ||
backgroundColor: "#253c5b" | ||
customFlags: [] | ||
readme: /technologies/app/saagie-app-storages-backup-restore/README.md | ||
|
||
contexts: | ||
- id: saagie-app-storages-backup-restore-2024.04 | ||
label: For Saagie 2024.04 | ||
releaseNotes: "" | ||
available: true | ||
trustLevel: stable | ||
ports: | ||
- port: 8050 | ||
name: saagie-app-storages-backup-restore | ||
rewriteUrl: false | ||
basePath: SAAGIE_BASE_PATH | ||
dockerInfo: | ||
image: "saagie/saagie-app-storages-backup-restore" | ||
baseTag: "2024.04-0.1" | ||
version: "2024.04-0.1-1.191.0" |
6 changes: 6 additions & 0 deletions
6
.../saagie-app-storages-backup-restore/saagie-app-storages-backup-restore-2024.04/.gitignore
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,6 @@ | ||
.idea | ||
*.ignore.* | ||
.envrc | ||
*.zip | ||
__pycache__ | ||
*.csv |
11 changes: 11 additions & 0 deletions
11
.../saagie-app-storages-backup-restore/saagie-app-storages-backup-restore-2024.04/Dockerfile
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,11 @@ | ||
FROM python:3.9-slim | ||
|
||
USER root | ||
|
||
COPY . / | ||
RUN pip install -r app/requirements.txt | ||
RUN apt-get update && apt-get install -y --no-install-recommends curl | ||
|
||
EXPOSE 8050 | ||
WORKDIR /app | ||
CMD ["python", "./app.py"] |
Empty file.
Oops, something went wrong.