Skip to content

Commit ced5bde

Browse files
authored
Merge pull request #11 from qgis/prod_tweaks
Update Makefile and configuration for Docker and Nginx
2 parents 4bf1eca + 428d519 commit ced5bde

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

deployment/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ web:
2525
@# Dont confuse this with the dbbackup make command below
2626
@# This one runs the postgis-backup cron container
2727
@# We add --no-recreate so that it does not destroy & recreate the db container
28-
# @docker compose up --no-recreate --no-deps -d dbbackups
28+
@docker compose up --no-recreate --no-deps -d dbbackups
2929

3030
permissions:
3131
# Probably we want something more granular here....

deployment/docker-compose.override.example.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ volumes:
77
type: none
88
device: ${PWD}/pg/postgres_data
99
o: bind
10+
db-backups:
11+
driver_opts:
12+
type: none
13+
device: ${BACKUPS_VOLUME}
14+
o: bind
1015
static-data:
1116
driver_opts:
1217
type: none

deployment/sites-enabled/prod.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ server {
2424
# the domain name it will serve for
2525
server_name members.qgis.org;
2626

27-
# Redirect all HTTP traffic to HTTPS
28-
return 301 https://$server_name$request_uri;
29-
3027
charset utf-8;
3128

3229
# Optimized for generating certificates

0 commit comments

Comments
 (0)