illacloud / deploy-illa-manually

Deploy illa utils manually. Docker, docker compose and k8s are all avaliable in this repo.
Apache License 2.0
37 stars 20 forks source link

Cannot delete PostgreSQL database #7

Closed Andrew-Chen-Wang closed 1 year ago

Andrew-Chen-Wang commented 1 year ago

Running either clean-postgres-database-file.sh in the docker-compose directory or docker compose down --volumes does not properly destroy the database. How would one go about deleting the database file?

karminski commented 1 year ago

@Andrew-Chen-Wang Hi, the database file was mounted at /var/lib/illa/database/postgresql, you can delete this folder manually. (the clean-postgres-database-file.sh do the same thing.)

And if you changed the following configs, the postgres database file will be generated in the new folder you defined.

ILLA_HOME_DIR=/var/lib/illa
PG_VOLUMN=${ILLA_HOME_DIR}/database/postgresql

You can delete by yourself.

karminski commented 1 year ago

Issue closed due to no feedback over 5 days.