eclipse-pass / main

Catch all repository against which issues of general, cross cutting topics are logged.
Apache License 2.0
4 stars 8 forks source link

Prevent pass-docker from creating duplicate demo data #967

Open markpatton opened 7 months ago

markpatton commented 7 months ago

What?

In pass-docker, the demo data loader will run on every docker compose up. Make the loader smarter and have it only run if the demo data does not already exist.

Why?

During development sometimes you will end up bringing the docker up multiple times and this problem can slow you down.

How?

Probably can just extend the command in the docker compose to check for the existence of users with a curl.

Acceptance Criteria

Multiple docker compose up commands no longer result in duplicate date.

Related Issues