Cloud-RF / tak-server

TAK Server docker setup
GNU General Public License v3.0
171 stars 59 forks source link

checking for db during restart and starting the postgresql server #12

Closed patrykCRF closed 2 years ago

patrykCRF commented 2 years ago

Added the check for the existing database. If the database exists then the PostgreSQL service is restarted. Without the check the normal the bash docker-compose up will force the creation of new DB and it will fail due to the fact that DB is already set up from the first run