Skip to content

Instantly share code, notes, and snippets.

@da-moon
Last active February 6, 2019 04:45
Show Gist options
  • Save da-moon/7aa1f1d950ddbd4fa535101ac9fe459b to your computer and use it in GitHub Desktop.
Save da-moon/7aa1f1d950ddbd4fa535101ac9fe459b to your computer and use it in GitHub Desktop.
https://medium.com/@sagarjauhari/multi-stage-docker-pattern-for-golang-1f009ee326cd
https://github.com/micro/tutorials
$ docker run --name postgres_bitbucket -d \
-e 'POSTGRES_DB=bitbucketdb' \
-e 'POSTGRES_USER=bitbucketdb' \
-e 'POSTGRES_PASSWORD=jellyfish' \
-e 'POSTGRES_ENCODING=UTF8' \
blacklabelops/postgres
$ docker run -d --name bitbucket \
-e "BITBUCKET_PROXY_NAME=51.158.76.102" \
-e "BITBUCKET_PROXY_PORT=80" \
-e "BITBUCKET_PROXY_SCHEME=http" \
--link postgres_bitbucket:postgres_bitbucket \
blacklabelops/bitbucket
$ docker run -d \
-p 80:7990 \
--name nginx \
--link bitbucket:bitbucket \
-e "SERVER1REVERSE_PROXY_LOCATION1=/" \
-e "SERVER1REVERSE_PROXY_PASS1=http://bitbucket:7990" \
blacklabelops/nginx
$ docker volume create --name letsencrypt_certs
$ docker volume create letsencrypt_challenges
$ docker run --name postgres_bitbucket -d \
-e 'POSTGRES_DB=bitbucketdb' \
-e 'POSTGRES_USER=bitbucketdb' \
-e 'POSTGRES_PASSWORD=jellyfish' \
-e 'POSTGRES_ENCODING=UTF8' \
blacklabelops/postgres
$ docker run -d --name bitbucket \
-e "BITBUCKET_CONTEXT_PATH=/" \
-e "BITBUCKET_PROXY_NAME=bitbucket.bifrostfoundation.io" \
-e "BITBUCKET_PROXY_PORT=80" \
-e "BITBUCKET_PROXY_SCHEME=http" \
blacklabelops/bitbucket
$ docker run -d \
-p 443:443 \
-p 80:80 \
-v letsencrypt_certs:/etc/letsencrypt \
-v letsencrypt_challenges:/var/www/letsencrypt \
-e "NGINX_REDIRECT_PORT80=true" \
-e "SERVER1REVERSE_PROXY_LOCATION1=/" \
-e "SERVER1REVERSE_PROXY_PASS1=http://bitbucket:7990" \
-e "SERVER1HTTPS_ENABLED=true" \
-e "SERVER1HTTP_ENABLED=false" \
-e "SERVER1REVERSE_PROXY_APPLICATION1: bitbucket"\
-e "SERVER1LETSENCRYPT_CERTIFICATES=true" \
-e "SERVER1CERTIFICATE_FILE=/etc/letsencrypt/live/bifrostfoundation.io/cert.pem" \
-e "SERVER1CERTIFICATE_KEY=/etc/letsencrypt/live/bifrostfoundation.io/privkey.pem" \
-e "SERVER1CERTIFICATE_TRUSTED=/etc/letsencrypt/live/bifrostfoundation.io/fullchain.pem" \
--name nginx \
--link bitbucket:bitbucket \
blacklabelops/nginx
$ docker run -d \
-v letsencrypt_certs:/etc/letsencrypt \
-v letsencrypt_challenges:/var/www/letsencrypt \
-e "LETSENCRYPT_WEBROOT_MODE=true" \
-e "[email protected]" \
-e "LETSENCRYPT_DOMAIN1=bifrostfoundation.io" \
--name letsencrypt \
blacklabelops/letsencrypt
$ docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
-e "JOB_NAME1=ReloadNginx" \
-e "JOB_COMMAND1=docker exec nginx nginx -s reload" \
-e "JOB_TIME1=0 0 2 15 * *" \
-e "JOB_ON_ERROR1=Continue" \
blacklabelops/jobber:docker
https://github.com/portainer/portainer
https://gist.github.com/deviantony/77026d402366b4b43fa5918d41bc42f8
https://github.com/rancher/rancher
https://github.com/codeabovelab/haven-platform#delegated-admin
https://www.joyent.com/
https://github.com/mistio/mist-ce
https://hyper.sh/
https://github.com/hyperhq
http://fabric8.io/
https://github.com/bitnami
https://github.com/parse-community/parse-dashboard
https://coreos.com/
https://pivotal.io/platform/pivotal-container-service
https://cloudron.io/index.html
https://git.cloudron.io/cloudron
https://www.futurice.com/blog/making-an-open-source-paas/
https://hostadvice.com/hosting-guides/container-hosting/
https://dzone.com/articles/a-comparison-of-docker-guis
https://dev.to/darksmile92/run-gui-app-in-linux-docker-container-on-windows-host-4kde
https://www.mainflux.com/
https://community.atlassian.com/t5/Jira-articles/How-to-run-Jira-in-a-docker-container/ba-p/752697
https://github.com/amazeeio/lagoon
https://blog.scottlowe.org/2015/02/06/quick-intro-to-consul/
https://learn.hashicorp.com/consul/getting-started/agent.html
https://dzone.com/articles/vagrant-vs-docker-which-is-better-for-software-dev
sudo docker run -it -p 3000:3000 -v "$(pwd):/home/project:cached" theiaide/theia:next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment