1.0.0-alpha.41 • Published 10 months ago

@fabernovel/pes-nx-plugin-docker v1.0.0-alpha.41

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

@fabernovel/pes-nx-plugin-docker

Fabernovel's plugin for docker databases.

Table of contents

  1. Usage
  2. Contributing

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.

OptionsDefaultDescriptionRequired
--databaseNamedefaultdbDatabase name (will be requested by the cli if not provided)
--usernamedefaultuserUsername (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

10 months ago

1.0.0-alpha.40

12 months ago

1.0.0-alpha.38

1 year ago

1.0.0-alpha.37

1 year ago

1.0.0-alpha.39

1 year ago

1.0.0-alpha.36

1 year ago

1.0.0-alpha.35

1 year ago

1.0.0-alpha.34

1 year ago

1.0.0-alpha.33

1 year ago

1.0.0-alpha.32

1 year ago