Created
November 10, 2017 18:53
-
-
Save MarkRobertJohnson/613d968b4b1f003e15d288678953ae57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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