marcopeg / code-server-ide Goto Github PK
View Code? Open in Web Editor NEWUtilities to transform an Ubuntu machine into a VSCode cloud IDE
Utilities to transform an Ubuntu machine into a VSCode cloud IDE
right now it keeps ownership to root and prevents installing different node versions
after the login, it should show the links to traefik and the editor
sudo kill -9 `sudo lsof -t -i:8080`
htpasswd -b -c .htpasswd foo foo
--user-data-dir Path to the user data directory.
--extensions-dir Path to the extensions directory.
the idea is that any docker-compose should be able to use CODE_SERVER_IDE_DNS
to register its own domains as:
- "traefik.http.routers.test-ide1.rule=Host(`nginx-auth.${CODE_SERVER_IDE_DNS}`)"
vscode-ide/data/code-server-data/User/settings.json
{
"git.autofetch": true,
"keyboard.dispatch": "keyCode",
"files.autoSave": "off"
}
find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +
https://filebrowser.org/installation
#!/bin/bash
docker run \
-v /home/ubuntu:/srv \
-p 8080:80 \
filebrowser/filebrowser
# -v /path/filebrowser.db:/database.db \
# -v /path/.filebrowser.json:/.filebrowser.json \
Good snippet on create or update:
https://gist.github.com/mdjnewman/b9d722188f4f9c6bb277a37619665e77
From Michele Pegoraro to Everyone: (6:49 PM)
https://docs.ansible.com/ansible/2.8/modules/list_of_all_modules.html
From Michele Pegoraro to Everyone: (7:00 PM)
https://molecule.readthedocs.io/en/latest/
https://docs.ansible.com/ansible/2.9/modules/list_of_all_modules.html
Ansible Docker role:
https://github.com/haxorof/ansible-role-docker-ce
Or is there an extension that does it already?
It may be useful to allow for custom implementations of the authentication service, or maybe just to configure traefik to use a different target for the forward auth...
let's reason around it!
When the system gets created, we should create a random COKIE_SECRET in a file, and use that file to source the value into the docker-compose project.
At that point, when we change the password with cs pwd basic-auth
we should also rotate the secret in such file, re-source it, reboot traefik.
if the proxy is active but there is no process running, it gets a 502 Bad Gateway
.
In such a case it would be cool to have a default page that says something like "code server ide" or similar stuff.
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.