Skip to content

Commit c168fbf

Browse files
authored
Merge pull request #16 from Xpirix/prod_tweaks
Update Makefile and Docker Compose configuration
2 parents c85b3fb + bac35fd commit c168fbf

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

deployment/Makefile

Lines changed: 1 addition & 8 deletions
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....
@@ -134,13 +134,6 @@ status:
134134
@echo "------------------------------------------------------------------"
135135
@docker compose ps
136136

137-
kill:
138-
@echo
139-
@echo "------------------------------------------------------------------"
140-
@echo "Killing in production mode"
141-
@echo "------------------------------------------------------------------"
142-
@docker compose kill
143-
144137
rm: dbbackup rm-only
145138

146139

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 changelog.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)