| ... | ... | @@ -4,7 +4,7 @@ To remove all data of an instance: |
|
|
|
2. Stop the containers: `docker-compose down`
|
|
|
|
3. Remove all the mounted folders:
|
|
|
|
```
|
|
|
|
$ sudo rm -r /home/opencell/{opencelldata,input-files,postgresql,opencell-log
|
|
|
|
$ sudo rm -r /home/opencell/{opencelldata,input-files,postgresql,opencell-log}
|
|
|
|
```
|
|
|
|
4. Execute the deploy playbook.
|
|
|
|
|
| ... | ... | @@ -24,4 +24,4 @@ $ docker restart opencell |
|
|
|
### Why?
|
|
|
|
When OpenCell image is created, it imports JSON that configure Keycloak. This file is named `opencell-realm-and-users.json` and located in `/opt/jboss`.
|
|
|
|
|
|
|
|
After do this import we create a file named `opencell-first-start-done` that is used to check if import already done to not do it again if docker restart is done on this image. |
|
|
|
After do this import we create a file named `opencell-first-start-done` that is used to check if import already done to not do it again if docker restart is done on this image. |
|
|
\ No newline at end of file |