Prostgres container should have a persistent volume #192
Labels
area/setup
Issue related to tinkerbell setup
kind/feature
Categorizes issue or PR as related to a new feature.
Postgres container looses its data when it is killed and restarted.
Before:
`/vagrant/deploy$ docker exec -i deploy_tink-cli_1 tink template list
+--------------------------------------+---------------+-------------------------------+-------------------------------+
| TEMPLATE ID | TEMPLATE NAME | CREATED AT | UPDATED AT |
+--------------------------------------+---------------+-------------------------------+-------------------------------+
| e9c3999a-9668-4055-9a42-11d2fbb51bdb | hello-world | 2020-06-25 06:25:48 +0000 UTC | 2020-06-25 06:25:48 +0000 UTC |
+--------------------------------------+---------------+-------------------------------+-------------------------------+
`
After
`vagrant/deploy$ docker exec -i deploy_tink-cli_1 tink template list
+-------------+---------------+------------+------------+
| TEMPLATE ID | TEMPLATE NAME | CREATED AT | UPDATED AT |
+-------------+---------------+------------+------------+
+-------------+---------------+------------+------------+
`
It can be resolved by adding a persistent volume in docker-compose file.
The text was updated successfully, but these errors were encountered: