Giter Site home page Giter Site logo

docker-stash-postgres's Introduction

docker-stash-postgres

A PostgreSQL container ready to be used with docker-stash.

Usage

  1. Create and name the database container:

docker run --name stash-postgres -d ahaasler/stash-postgres ```

  1. Use it in the Stash container:

docker run --name stash --link stash-postgres:stash-postgres -d -p 7990:7990 -p 7999:7999 ahaasler/stash ```

  1. Connect your Stash instance following the Atlassian documentation: Connecting Stash to PostgreSQL.
    • Database Type: PostgreSQL.
    • Hostname: stash-postgres (the name of the link between containers).
    • Port: 5432.
    • Database name: stashdb (or the one specified as STASH_DB_NAME).
    • Database username: stash (or the one specified as STASH_DB_USER).
    • Database password: password (or the one specified as STASH_DB_PASS).

See docker-stash for more information on the stash container.

Parameters

You can use these environment variables to configure your stash postgres instance:

  • STASH_DB_NAME: The name of your PostgreSQL database (default: stashdb).
  • STASH_DB_USER: The user for STASH to connect to the PostgreSQL server (default stash).
  • STASH_DB_PASS: The password that STASH should use to authenticate with the PostgreSQL server (default password).

They should be passed to the docker run command:

docker run --name stash-postgres -d -e STASH_DB_NAME=stashdatabase -e STASH_DB_USER=stashdbuser -e STASH_DB_PASS=p455w0rd ahaasler/stash-postgres

Thanks

  • Docker for this amazing container engine.
  • PostgreSQL for this advanced database.
  • Atlassian for making great products. Also for their work on atlassian-docker which inspired this.
  • Azul Systems for their OpenJDK docker base image.
  • And specially to you and the entire community.

License

This image is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

docker-stash-postgres's People

Contributors

ahaasler avatar

Watchers

 avatar  avatar

Forkers

jmillxyz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.