forked from elpaso/qgis-feed
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update dbbackups version, use backups volumes, update nginx ports in docker compose ssl * Use updated docker compose, drop db before restore in Makefile * Use upated docker compose, generate .env file in github actions * Set nginx conf to port 80
- Loading branch information
Showing
5 changed files
with
47 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ services: | |
postgis: | ||
image: kartoza/postgis:16-3.4 | ||
ports: | ||
- "5432" | ||
- "5432" | ||
environment: | ||
POSTGRES_USER: ${QGISFEED_DOCKER_DBUSER} | ||
POSTGRES_PASS: ${QGISFEED_DOCKER_DBPASSWORD} | ||
|
@@ -20,6 +20,7 @@ services: | |
test: "POSTGRES_PASS=$${QGISFEED_DOCKER_DBPASSWORD} pg_isready -h 127.0.0.1 -U ${QGISFEED_DOCKER_DBUSER} -d ${QGISFEED_DOCKER_DBNAME}" | ||
volumes: | ||
- ${QGISFEED_DOCKER_SHARED_VOLUME}:/var/lib/postgresql | ||
- ${QGISFEED_BACKUP_VOLUME}:/backups | ||
networks: | ||
internal: | ||
|
||
|
@@ -67,7 +68,7 @@ services: | |
EMAIL_HOST_PASSWORD: ${EMAIL_HOST_PASSWORD} | ||
command: /code/entrypoint_production.sh | ||
expose: | ||
- "8000" | ||
- "8000" | ||
volumes: | ||
- ${QGISFEED_DOCKER_SHARED_VOLUME}:/shared-volume | ||
- ../qgis-feed:/code | ||
|
@@ -85,8 +86,8 @@ services: | |
nginx: | ||
image: nginx:latest | ||
ports: | ||
- "80:8000" | ||
- "443:443" | ||
- "80:80" | ||
- "443:443" | ||
logging: | ||
driver: "json-file" | ||
options: | ||
|
@@ -113,9 +114,9 @@ services: | |
depends_on: | ||
- nginx | ||
command: certonly --webroot --webroot-path=/var/www/webroot --email [email protected] --agree-tos --no-eff-email --force-renewal -d feed.qgis.org | ||
|
||
dbbackups: | ||
image: kartoza/pg-backup:11.0 | ||
image: kartoza/pg-backup:16-3.4 | ||
environment: | ||
DUMPPREFIX: PG_QGIS_FEED | ||
POSTGRES_DATABASE: ${QGISFEED_DOCKER_DBNAME} | ||
|