Coder Social home page Coder Social logo

borjapazr / mars-server Goto Github PK

View Code? Open in Web Editor NEW
76.0 4.0 8.0 467 KB

🏡🖥️ Managed home server with Docker, Docker Compose, Make and Bash

License: MIT License

Shell 2.56% Makefile 5.66% HTML 0.49% CSS 1.82% JavaScript 0.07% Dockerfile 0.40% Python 89.00%
docker docker-compose make makefile fzf homeserver lab linux nextcloud openvpn

mars-server's Introduction

Hi 👋, I'm Borja Paz Rodríguez 👨‍💻

A passionate Software Engineer from Spain. I really like emojis, any problem? 🤙

borjapazr

mars-server's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mars-server's Issues

a simple way to provide sensitive and/or dynamic env for docker-compose

I understand this is a simple tool not meant for production, but it would be nice if there is a simple elegant way to accomplish this, as having plain passwords lying around makes many people nervous these days.

As an example, maybe each service can have a separate, optional .env.sh file with contents like:

MYUID=$(id -u)
yyy_password=$(pass docker-compose/services/mssql)

a wrapper is then used to inject the dynamic env before invoking the real docker-compose? This probably means that a gpg passphrase will be needed once for server.sh xxx operation every so often?

# docker-compose-wrapper file
##########
function compose_wrapper() {
    if [ -f "../../.usewrapper" ]; then 
      set -a
      [-f ".env.sh"] && source <(cat .env.sh )
      set +a
    fi
    $real_compose  "$@"
}
...

compose_wrapper "$@"
##############

Request and more images to add

please add these for raspberry pi ubuntu 22.04 LTS

Request: if you can also make a script so that it download the source code and runs

sudo docker build --tag $project_name:$dockerfile_name .

Why do this? docker tagging system sometimes doesn't know the platform to build on or the developer has not updated the image yet for raspberry pi ubuntu [22.04 LTS]

1. mosquitto used for notificationsXMPP is better and offers better options.
2. hapttic used for remote code execution on different systems
3. docpht use for bookmarking and saving code
4. immich used for back up of pictures and videos instead of nextcloud and similar services that take too long.

server.sh services restart seems to destroy volumes

I am not sure why, but restart target of a service seems to be destroying volumes, instead of just stop and start.

By the way, there are many projects out there including homelabos, charjabox, make-my-server, ansible-nas-master, homeserver-compose and many more. Your little creation is so simple and yet concise.

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.