borjapazr / mars-server Goto Github PK
View Code? Open in Web Editor NEW๐ก๐ฅ๏ธ Managed home server with Docker, Docker Compose, Make and Bash
License: MIT License
๐ก๐ฅ๏ธ Managed home server with Docker, Docker Compose, Make and Bash
License: MIT License
Why is this needed? For services that are disabled, .env may not exist yet.
please add these for raspberry pi ubuntu 22.04 LTS
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.
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.
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 "$@"
##############
stitchocker is a single bash file that makes it possible to invoke a set of services (which possibly also relies on other sets of services) using a yaml manifest file.
Would be nice to incorporate this function to cut down the number of services running at the same time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.