Skip to content

Postgres and Admin Interface to work with Sharpnet

Notifications You must be signed in to change notification settings

Sharpz7/postgres

Repository files navigation

CircleCI

Postgres and PGAdmin

A twin-container install of a Postgres Database along with PGAdmin designed to run with SharpNet and SharpCD

Install Dependencies

  • Make sure SharpCD havs been installed.

  • Ensure the enviromental variables have been set in an enviromental variable file:

# sharpnet ports
HTTP_PORT=80
HTTPS_PORT=443

# Sharpnet gmail login credentials
# for sending errors
MAILPASS=email_password
SENDER_EMAIL=email

# Email that problems will be sent to
RECEIVER_EMAIL=email@domain1.com

# Domain for certificates
DOMAIN=domain2.com

# For Devs only
DEV=FALSE
NETWORK=sharpnet

(See the sharpnet documentation for more information)

  • Run the following command to install the dependencies:
sharpcd --remotefile https://raw.githubusercontent.com/Sharpz7/postgres/main/.sharpcd/dependencies.yml

Installation

  • Make sure SharpCD havs been installed.

  • Ensure the enviromental variables have been set in an enviromental variable file:

# Email and password for PGAdmin
ADMIN_EMAIL=myemail@mail.com
ADMINPASS=pgadminpass

# Password for postgres
POSTPASS=postgrespass

# Domains that PG Admin will be available on
SHARPDOMAINS=domain1.com,domain2.com
  • Run the following command to install the postgres:
sharpcd --remotefile https://raw.githubusercontent.com/Sharpz7/postgres/main/.sharpcd/sharpcd.yml

Maintainers

About

Postgres and Admin Interface to work with Sharpnet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published