Skip to content

Commit

Permalink
deploy: a9d8edc
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Mar 30, 2024
1 parent 2a69b4a commit 7f1153c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
12 changes: 5 additions & 7 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,9 @@ <h3 id="accessing-local-postgresql-on-windows"><a class="header" href="#accessin
</code></pre>
<div style="break-before: page; page-break-before: always;"></div><h2 id="running-with-docker-compose"><a class="header" href="#running-with-docker-compose">Running with Docker Compose</a></h2>
<p>You can use example <a href="https://raw.githubusercontent.com/maplibre/martin/main/docker-compose.yml"><code>docker-compose.yml</code></a> file as a reference</p>
<pre><code class="language-yml">version: '3'

services:
<pre><code class="language-yml">services:
martin:
image: ghcr.io/maplibre/martin:v0.11.2
image: ghcr.io/maplibre/martin:v0.13.0
restart: unless-stopped
ports:
- "3000:3000"
Expand All @@ -348,7 +346,7 @@ <h3 id="accessing-local-postgresql-on-windows"><a class="header" href="#accessin
- db

db:
image: postgis/postgis:14-3.3-alpine
image: postgis/postgis:16-3.4-alpine
restart: unless-stopped
environment:
- POSTGRES_DB=db
Expand All @@ -359,10 +357,10 @@ <h3 id="accessing-local-postgresql-on-windows"><a class="header" href="#accessin
- ./pg_data:/var/lib/postgresql/data
</code></pre>
<p>First, you need to start <code>db</code> service</p>
<pre><code class="language-shell">docker-compose up -d db
<pre><code class="language-shell">docker compose up -d db
</code></pre>
<p>Then, after <code>db</code> service is ready to accept connections, you can start <code>martin</code></p>
<pre><code class="language-shell">docker-compose up -d martin
<pre><code class="language-shell">docker compose up -d martin
</code></pre>
<p>By default, Martin will be available at <a href="http://localhost:3000/">localhost:3000</a></p>
<div style="break-before: page; page-break-before: always;"></div><h2 id="using-with-nginx"><a class="header" href="#using-with-nginx">Using with NGINX</a></h2>
Expand Down
12 changes: 5 additions & 7 deletions run-with-docker-compose.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,9 @@ <h1 class="menu-title">Martin Tile Server Documentation</h1>
<main>
<h2 id="running-with-docker-compose"><a class="header" href="#running-with-docker-compose">Running with Docker Compose</a></h2>
<p>You can use example <a href="https://raw.githubusercontent.com/maplibre/martin/main/docker-compose.yml"><code>docker-compose.yml</code></a> file as a reference</p>
<pre><code class="language-yml">version: '3'

services:
<pre><code class="language-yml">services:
martin:
image: ghcr.io/maplibre/martin:v0.11.2
image: ghcr.io/maplibre/martin:v0.13.0
restart: unless-stopped
ports:
- "3000:3000"
Expand All @@ -195,7 +193,7 @@ <h2 id="running-with-docker-compose"><a class="header" href="#running-with-docke
- db

db:
image: postgis/postgis:14-3.3-alpine
image: postgis/postgis:16-3.4-alpine
restart: unless-stopped
environment:
- POSTGRES_DB=db
Expand All @@ -206,10 +204,10 @@ <h2 id="running-with-docker-compose"><a class="header" href="#running-with-docke
- ./pg_data:/var/lib/postgresql/data
</code></pre>
<p>First, you need to start <code>db</code> service</p>
<pre><code class="language-shell">docker-compose up -d db
<pre><code class="language-shell">docker compose up -d db
</code></pre>
<p>Then, after <code>db</code> service is ready to accept connections, you can start <code>martin</code></p>
<pre><code class="language-shell">docker-compose up -d martin
<pre><code class="language-shell">docker compose up -d martin
</code></pre>
<p>By default, Martin will be available at <a href="http://localhost:3000/">localhost:3000</a></p>

Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 7f1153c

Please sign in to comment.