Skip to content

Instantly share code, notes, and snippets.

@dszymczuk
dszymczuk / how-to-update-wordpress-on-docker.md
Created February 12, 2021 10:28
How to up update Wordpress on Docker

Using Wordpress on Docker container at some point you'll get information about update.

@dszymczuk
dszymczuk / gist:43f91738e6d56f68090ca98c44b2b3ee
Last active July 30, 2016 11:55
nginx vhost proxypass port
#!/bin/bash
##
## example to run, if you want pass domain.com on port 9999 :
## name-of-script.sh domain.com 9999
##
domain=$1
port=$2
nginxSitePath='/etc/nginx/sites-enabled/'
nginxInitdPath='/etc/init.d/nginx'
@dszymczuk
dszymczuk / gist:dc883399face7e10e448e54881204628
Created July 15, 2016 07:00
Usefull aliases for Docker
# add to .bashrc or .bash_profile
alias dockerCleanExited='docker rm $(docker ps --all -q -f status=exited)'
alias dockerStopAll='docker stop $(docker ps -q)'
alias dockerStartAll='docker start $(docker ps --all -q -f status=exited)'