Smashing! If one needs a “vm” for the class to play around with node.js then feel free to use your github credentials when logging into communitygrid.dallasmakerspace.org.
By default this will give students and instructors access to a lab environment which they can play around with for 48 hours before the environment resets. They get a full linux system, valid ssl, a virtual hostname off .communitygrid.dallasmakerspace.org
, and a web based console/logger.
Oh, here’s an example docker-compose.yml one can add in with their github project:
---
version: '3.6'
services:
application:
networks:
- public
deploy:
labels:
traefik.enabled: 1
traefik.priority: 10
traefik.network: public
# virtual host port (application's http server should be running on this port)
traefik.port: 8000
# Virtual host name
traefik.frontend.rule: 'Host: guest.communitygrid.dallasmakerspace.org'
# Image name (could be pierrezemb/gostatic:latest [static html,css,js], or node:carbon-alpine [dynamic server side js])
image: jwilder/whoami:latest
networks:
public:
external: true
name: public
...
Of course use what one thinks is best and let me know if one needs any help with anything plus the link to the event so we can help promote the class.