Skip to content

Instantly share code, notes, and snippets.

@MarkRobertJohnson
Created November 10, 2017 18:53
Show Gist options
  • Save MarkRobertJohnson/613d968b4b1f003e15d288678953ae57 to your computer and use it in GitHub Desktop.
Save MarkRobertJohnson/613d968b4b1f003e15d288678953ae57 to your computer and use it in GitHub Desktop.
#!/bin/bash
#Docker commands taken from: https://inedo.com/support/kb/1100/getting-started-with-proget-for-linux#limitations
brew cask install docker
#Now, go and start start docker from finder
mkdir -pv /private/var/proget/db
mkdir -pv /private/var/proget/packages
mkdir -pv /private/var/proget/extensions
docker network create proget
docker run -d -v /etc/localtime:/etc/localtime:ro -v /private/var/proget/db:/private/var/lib/postgresql/data --net=proget --name=proget-postgres --restart=unless-stopped postgres:9.5
docker run -d -v /etc/localtime:/etc/localtime:ro -v /private/var/proget/packages:/private/var/proget/packages -v /private/var/proget/extensions:/private/var/proget/extensions -p 80:80 --net=proget --name=proget --restart=unless-stopped inedo/proget:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment