Skip to content

Commit 9ef7289

Browse files
committed
Further refinements #420
1 parent 3ce7de7 commit 9ef7289

7 files changed

Lines changed: 35 additions & 126 deletions

File tree

LICENSES/CLA-signed-list.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ C/ My company has custom contribution contract with Lutra Consulting Ltd. or I a
1919
* lavor, 26th April 2023
2020
* luxusko, 25th August 2023
2121
* jozef-budac, 30th January 2024
22+
* fernandinand, 9th April 2025

deployment/community/docker-compose.dev.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ services:
3030
build:
3131
context: ../../web-app
3232
dockerfile: Dockerfile
33-
#maildev:
34-
# image: maildev/maildev
35-
# container_name: merginmaps-maildev
36-
# restart: always
37-
# ports:
38-
# - 1080:1080
39-
# - 1025:1025
40-
# networks:
41-
# - merginmaps
33+
maildev:
34+
image: maildev/maildev
35+
container_name: merginmaps-maildev
36+
restart: always
37+
ports:
38+
- 1080:1080
39+
- 1025:1025
40+
networks:
41+
- merginmaps

deployment/community/docker-compose.latest.yml

Lines changed: 0 additions & 112 deletions
This file was deleted.

deployment/enterprise/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ For more info check [documentation](https://merginmaps.com/docs/server/install/#
5959

6060
Alternatively, you can run the following provisioning commands with some extra steps.
6161

62-
### Before version 2025.2.0:
62+
### Prior to version 2025.2.0:
6363
```
6464
sudo docker compose --env-file .prod.env -f docker-compose.yaml up
6565
sudo docker exec mergin-server-enterprise flask init-db
@@ -70,9 +70,13 @@ sudo docker exec mergin-server-enterprise flask user create <username> <password
7070
## WebMaps
7171

7272
If you want to deploy MerginMaps Webmaps infrastructure, please adjust `.prod.env` related environment variables and run:
73+
> [!NOTE]
74+
> Please remember the main Mergin Maps stack needs to be running already.
75+
> Otherwise, run it:
76+
> `docker compose --env-file .prod.env -f docker-compose.yaml up -d`
7377
7478
```
75-
sudo docker compose --env-file .prod.env -f docker-compose.maps.yaml up -d
79+
sudo docker compose -f docker-compose.maps.yaml up -d
7680
```
7781

7882
## Install and configure nginx for TLS termination

deployment/enterprise/docker-compose.maps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ services:
2525
- mergin-net
2626
depends_on:
2727
- qgis
28-
#volumes:
29-
# - ./qgis_nginx_nginx-conf:/etc/nginx/conf.d/default.conf
28+
volumes:
29+
- ./qgis_nginx.conf:/etc/nginx/conf.d/default.conf
3030
qgis_extractor:
3131
container_name: mergin-qgis-extractor
3232
image: 433835555346.dkr.ecr.eu-west-1.amazonaws.com/mergin/qgis-extractor-ee:2025.1.0

deployment/enterprise/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ services:
3232
- mergin
3333

3434
proxy:
35-
image: nginxinc/nginx-unprivileged:1.25.5
35+
image: nginxinc/nginx-unprivileged:1.27
3636
container_name: mergin-proxy-enterprise
3737
restart: always
3838
# run nginx as built-in user but with group mergin-family for files permissions
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
server {
2+
listen 80;
3+
server_name _;
4+
5+
location / {
6+
proxy_buffers 16 16k;
7+
proxy_buffer_size 16k;
8+
gzip off;
9+
include fastcgi_params;
10+
fastcgi_pass qgis:5555;
11+
# Wait up to 10 seconds for the qgis-server fastcgi application
12+
# to return a response.
13+
fastcgi_read_timeout 10s;
14+
}
15+
16+
}

0 commit comments

Comments
 (0)