This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps-site.git
The following commit(s) were added to refs/heads/main by this push:
new 8f583e2 Add instructions for arm64
8f583e2 is described below
commit 8f583e2ece671155a924407220a22ed0b02ba633
Author: Bertil Chapuis <[email protected]>
AuthorDate: Mon Sep 16 11:23:55 2024 +0200
Add instructions for arm64
---
.../documentation/getting-started/installing-postgis.mdx | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/pages/documentation/getting-started/installing-postgis.mdx
b/src/pages/documentation/getting-started/installing-postgis.mdx
index 32e2ef6..f64dd93 100644
--- a/src/pages/documentation/getting-started/installing-postgis.mdx
+++ b/src/pages/documentation/getting-started/installing-postgis.mdx
@@ -22,6 +22,18 @@ docker run \
-d postgis/postgis:latest
```
+On a mac, you may prefer an image optimized for arm64:
+
+```
+docker run \
+ --name baremaps \
+ --publish 5432:5432 \
+ -e POSTGRES_DB=baremaps \
+ -e POSTGRES_USER=baremaps \
+ -e POSTGRES_PASSWORD=baremaps \
+ -d kartoza/postgis:16-3.4
+```
+
You can then stop and start the container with the following commands:
```