Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀
If you want to truly understand something, try to change it.

Hoang Trinh piavgh

🚀
If you want to truly understand something, try to change it.
View GitHub Profile
@piavgh
piavgh / add-docker-user.sh
Created Aug 17, 2020
Add a Docker user with the name from command line
View add-docker-user.sh
#!/usr/bin/env bash
help() {
cat <<EOF
Arguments:
+\$1 given username
Usage example:
$ ./add-docker-user.sh jenkins
EOF
}
@piavgh
piavgh / docker-compose.yml
Last active Aug 13, 2020
Traefik docker-compose.yml for OpenPaaS SPAs
View docker-compose.yml
version: '3'
services:
reverse-proxy:
# The official v2 Traefik docker image
image: traefik:v2.2
# Enables the web UI and tells Traefik to listen to docker
command:
- "--log.level=INFO"
- "--accesslog=true"
@piavgh
piavgh / cloudSettings
Last active Jan 21, 2021
VSCode Settings Linagora Ubuntu
View cloudSettings
{"lastUpload":"2021-01-21T08:06:35.158Z","extensionVersion":"v3.4.3"}