almarklein / mypaas Goto Github PK
View Code? Open in Web Editor NEWRun your own PaaS using Docker, Traefik, and great analytics
License: BSD 2-Clause "Simplified" License
Run your own PaaS using Docker, Traefik, and great analytics
License: BSD 2-Clause "Simplified" License
Thank you for the awesome project.
While using it, I've often found helpful to be able to configure the deployment in an external deploy file.
Other providers use them also, like netlify.toml
.
My main problem was that I was not able to push because mypaas
pushed everything but the hardcoded ignore dirs.
The file size was too large and hence refused to push. But they are hardcoded.
Therefore I extended the client with a basic configuration file option. Since the project already uses toml files, I decided to use the same and name it mypaas.toml
.
In the future I want to extend the configuration to all config options, like better envs (maybe interpolation), etc.
Let me know you opinion. I'm happy to make a pull request, once the feature is complete.
Feel free to take a look at my fork at https://github.com/hydroid7/mypaas
Hi there,
currently I'm looking for a way to expose a message broker to the internet.
I'm looking for MQTT and NATS. Do you have any ideas how to solve that?
Thank you in advance! :)
Absolutely love the minimalistic approach, tried it out works Traefik+ My-Paas works great and fast.
Just wondering if Docker Swarm will be added in the future.
Also would love if env values could be updated from passing a command instead of deploying repeatedly.
Could be a perfect caprover alternative then.
Hi
Could you please include a comparison to Swarmlet (https://swarmlet.dev/), which seems to have a similar goal.
TIA
(I personally avoid AWS for ethical reasons.)
I avoid AWS as well, because I find them to be bullies. But your reason intrigues me. Can you elaborate?
The equivalent of the browser blocking a site with a certificate error.
pip install mypaas[server]
Hi
I'm trying out MyPaas, but ran into some issues:
Docs do not detail installation on the work machine. It also does not specify the toml requirement.
It seems to be sufficient to have this in my requirements.txt:
mypaas
toml
I followed the getting started instructions and the tried to run the hello-world example. However, when pushing
mypaas push xxxx.yyyy.nl .
(xxxx.yyyy.nl is not the real server name of course)
I got this error:
Traceback (most recent call last):
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 978, in _validate_conn
conn.connect()
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/urllib3/connection.py", line 362, in connect
self.sock = ssl_wrap_socket(
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/urllib3/util/ssl_.py", line 384, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/local/Cellar/[email protected]/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/local/Cellar/[email protected]/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/usr/local/Cellar/[email protected]/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen
retries = retries.increment(
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='xxxx.yyyy.nl', port=443): Max retries exceeded with url: /daemon/time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/bin/mypaas", line 8, in <module>
sys.exit(main())
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/mypaas/__main__.py", line 109, in main
func(*argv[1:])
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/mypaas/client/_push.py", line 41, in push
r = requests.get(base_url + "/time", verify=True)
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/Users/mjm/Dropbox/Devel/_Experiments/MyPaas/venv/lib/python3.8/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='xxxx.yyyy.nl', port=443): Max retries exceeded with url: /daemon/time (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))
Testing on MacOS with a DigitalOcean docker droplet.
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.