Giter Site home page Giter Site logo

base-rbme's Introduction

Introducción

Este repositorio alberga un contenedor Docker para montar una aplicación que haga backup usando el programa RBME, está automatizado en el Registry Hub de Docker luispa/base-rbme conectado con el el proyecto en GitHub base-rmbe

Ficheros

  • Dockerfile: Para crear el servicio
  • docker-entrypoint.sh: Se utiliza para arrancar correctamente el contenedor creado con esta imagen

Clonar el repositorio

Este es el comando a ejecutar para clonar el repositorio desde GitHub y poder trabajar con él directamente

~ $ clone https://github.com/LuisPalacios/docker-rbme.git

Luego puedes crear la imagen localmente con el siguiente comando

$ docker build -t luispa/base-rbme ./

Uso de la imagen

Para usar la imagen desde el registry de docker hub

~ $ docker pull luispa/base-rbme

o bien mediante fig, fichero fig.yml

#
#
backup:

image: luispa/base-rbme

volumes:
- /mnt/Backup:/backup
- /Apps/data/backup/rbme_daily.sh:/etc/cron.daily/rbme_daily.sh

command: /entrypoint.sh

Otra opción es ejecutarlo manualmente

docker run -t -i -v /mnt/Backup:/backup -v /Apps/data/backup/rbme_daily.sh:/etc/cron.daily/rbme_daily.sh -h totobo luispa/base-rbme /bin/bash

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.