Skip to content

mapofzones/database-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

database-cleaner

Status of Last Deployment:

Requirements

Running directly:

  • java 11
  • maven

Running in a container:

  • Docker

Usage

Running directly:

  • mvn package -DskipTests or mvn package
  • java -jar /opt/app.jar --spring.profiles.active=prod
  • envs:
    • DB_URL=jdbc:postgresql://<ip>:<port>/<db>
    • DB_USER=<db_user>
    • DB_PASS=<db_user_pass>

Running in a container:

  • docker build -t database-cleaner:v1 .
  • docker run --env DB_URL=jdbc:postgresql://<ip>:<port>/<db> --env DB_USER=<db_user> --env DB_PASS=<db_user_pass> -it -d --network="host" database-cleaner:v1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published