1.0.0 • Published 8 years ago
usdocker-postgres v1.0.0
Useful script for 'postgres' service
This Useful Script creates a postgres server based on a Docker Image. You don't have know docker to use this solution.
Installing
npm install -g usdocker-postgresStart the postgres service
usdocker postgres upStop the postgres service
usdocker postgres downCheck the postgres status
usdocker postgres statusUse the psql command line client
usdocker postgres client -- [args]Run the bash
usdocker postgres connect -- [args]Customize your service
You can setup the variables by using:
usdocker postgres --set variable=valueDefault values
- image: "postgres:9-alpine",
- folder: "/home/jg/.usdocker/data/postgres",
- user: "postgres",
- password: "password",
- port: 5432
1.0.0
8 years ago