1.0.0-alpha.41 • Published 2 years ago
@fabernovel/pes-nx-plugin-docker v1.0.0-alpha.41
@fabernovel/pes-nx-plugin-docker
Fabernovel's plugin for docker databases.
Table of contents
Usage
Requirements
Inside your project's workspace, add this plugin as a dependency:
pnpm add -D -w @fabernovel/pes-nx-plugin-docker
If you do not have a workspace, refer to @fabernovel/pes-nx-plugin-workspace
's README and create one.
Available generators
1. Docker-compose file initialisation
In order to create a docker-compose file, run the following command:
pnpm exec nx g @fabernovel/pes-nx-plugin-docker:init-docker-compose [options]
It will create docker-compose.yml file inside
support/docker
.
2. Postgres
In order to create a Postgres database, run the following command:
pnpm exec nx g @fabernovel/pes-nx-plugin-docker:postgres [options]
It will update the docker-compose.yml file and create an init-db.sh script.
Options | Default | Description | Required |
---|---|---|---|
--databaseName | defaultdb | Database name (will be requested by the cli if not provided) | |
--username | defaultuser | Username (will be requested by the cli if not provided) |
Note: A root user is created in addition of the default user (root/password).
Contributing
See the Contributing file.
1.0.0-alpha.41
2 years ago
1.0.0-alpha.40
2 years ago
1.0.0-alpha.38
2 years ago
1.0.0-alpha.37
2 years ago
1.0.0-alpha.39
2 years ago
1.0.0-alpha.36
2 years ago
1.0.0-alpha.35
2 years ago
1.0.0-alpha.34
2 years ago
1.0.0-alpha.33
2 years ago
1.0.0-alpha.32
2 years ago