Skip to content

Commit

Permalink
Merge pull request #54 from mariobodemann/fix/out-of-memory-deploy
Browse files Browse the repository at this point in the history
Add podman / non docker-desktop documentation
  • Loading branch information
mariobodemann authored Aug 19, 2024
2 parents b2c79cc + d83deba commit 646b086
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# make sure we have docker compose v2
echo "### checking docker compose version"
docker compose version | grep v2 || { echo docker compose v2 is required; exit; }
docker compose version | egrep 'version (v)?2' || { echo docker compose v2 is required; exit; }

# use a default environment file unless already present
if [[ ! -f ".env" ]] ; then
Expand Down
23 changes: 23 additions & 0 deletions docs/docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,26 @@ This will look for any instance of the containers and images set by our deploy s

Once the application has been removed, you will need to run the deploy application script, where you will be given a fresh, "factory-default", version of the application.
Any passkeys registered to the old deployment will be unusable.


# Troubleshooting

This section covers commmon issues while deploying.

## Docker container disappearing

In case some containers keep disappearing, or you see request timeouts connected to the JDBC, please ensure that you got enough memory allocated to your virtual machine running the docker containers.

### Docker Desktop

If you run docker desktop, please open the settings and change the memory limit.

### Podman

If you use `podman` with `qemu`, please use the following commands to increase the memory size:

```bash
podman machine stop
podman machine set --memory 4096
podman machine start
```

0 comments on commit 646b086

Please sign in to comment.