Simplify work with postgres inside docker-compose service
Project description
usage: docker-compose-postgres [-h] [-c COMMAND] [-T] [--docker-compose-command DOCKER_COMPOSE_COMMAND] [-p] [-f FILE] [--env-user ENV_USER] [--env-db ENV_DB] [--service SERVICE] [-U USERNAME] [-d DBNAME]
optional arguments:
-h, --help show this help message and exit
-c COMMAND, --command COMMAND
run only single command (SQL or internal) and exit
-T disable pseudo-tty allocation. By default `docker-compose exec allocates a TTY.
--docker-compose-command DOCKER_COMPOSE_COMMAND
path to docker-compose executable. Default `docker-compose`
-p, --print do not call subprocess. Print command only.
-f FILE, --file FILE specify an alternate compose file (default: docker-compose.yml)
--env-user ENV_USER environment variable which defines username. Default `POSTGRES_USER`
--env-db ENV_DB environment variable which defines dbname. Default `POSTGRES_DB`
--service SERVICE specify name of service. Default behaviour is to find service with image name starts with `postgres:`
-U USERNAME, --username USERNAME
database user name
-d DBNAME, --dbname DBNAME
database name
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docker-compose-postgres-0.0.2.tar.gz.
File metadata
- Download URL: docker-compose-postgres-0.0.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20e7911c95eb2d44bcd679718e31c15110156f804580a7d0edaa031426345dfb
|
|
| MD5 |
3d0b19feac49e7010a1cd2b873d082ab
|
|
| BLAKE2b-256 |
dbd9f706673391cecae37bf36ed40041d570e78fc607f88886b8b7d0a1b31441
|
File details
Details for the file docker_compose_postgres-0.0.2-py3-none-any.whl.
File metadata
- Download URL: docker_compose_postgres-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fa09936f78ea10820e5ce8bb871b3e194bf4c9bd8c2c217e7eb38fa48288324
|
|
| MD5 |
c4ef8ce661cbf87cb606979ea5632798
|
|
| BLAKE2b-256 |
558b19eb57428c907b263d539a5ba14a9e75281e5c52d3c9c4793fb2e2e6f099
|