Skip to content

Instantly share code, notes, and snippets.

View taron-ai's full-sized avatar

Taron M. taron-ai

View GitHub Profile
@taron-ai
taron-ai / mysql-docker.sh
Created June 9, 2019 22:13 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@taron-ai
taron-ai / gitlab-ci.yml
Created April 14, 2019 18:46 — forked from brunomacf/gitlab-ci.yml
kube-test gitlab-ci
image: docker:latest
services:
- docker:dind
stages:
- build
- deploy
variables:
CONTAINER_DEV_IMAGE: registry.gitlab.com/brunomacf/kube-test:$CI_COMMIT_SHA
@taron-ai
taron-ai / msys_hetzner-etc_network_interfaces
Created March 19, 2019 21:50 — forked from EugenMayer/msys_hetzner-etc_network_interfaces
Debian network configuration for Proxmox VE server running on a Hetzner host
# /etc/network/interfaces
#
auto lo
iface lo inet loopback
# device: eth0
iface eth0 inet manual
# IPv4 bridge
# (connect ONLY your firewall/router KVM instance here, this is the WAN device!)