Skip to content

Instantly share code, notes, and snippets.

@rubyon
Created March 17, 2017 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubyon/ab5ece4299e49adf3c0a476ea3fcb5a6 to your computer and use it in GitHub Desktop.
Save rubyon/ab5ece4299e49adf3c0a476ea3fcb5a6 to your computer and use it in GitHub Desktop.
sudo docker run -d \
--name gitea-db \
--restart=always \
-e POSTGRES_PASSWORD='98010~!@' \
-v /home/docker/gitea/data:/var/lib/postgresql/data \
-p 5432:5432 \
postgres:alpine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment