|
|
@ -17,11 +17,14 @@ GT_TAG= |
|
|
|
GT_CONTAINER_NAME= |
|
|
|
GT_CONTAINER_NAME= |
|
|
|
|
|
|
|
|
|
|
|
# Database |
|
|
|
# Database |
|
|
|
# If using PostgreSQL is better to use SIGINT to power off the container which |
|
|
|
# If using PostgreSQL is better to use SIGTERM to power off the container which |
|
|
|
# enables the "Fast Shutdown" mode. |
|
|
|
# enables the "Smart Shutdown", after the grace period it gets SIGKILL which |
|
|
|
|
|
|
|
# can lead to corruption of backups, but is still better than using SIGINT. |
|
|
|
# https://www.postgresql.org/docs/10/server-shutdown.html |
|
|
|
# https://www.postgresql.org/docs/10/server-shutdown.html |
|
|
|
# https://github.com/docker-library/postgres/issues/184#issuecomment-394822161 |
|
|
|
# https://github.com/docker-library/postgres/issues/184#issuecomment-394822161 |
|
|
|
|
|
|
|
# https://github.com/docker-library/postgres/issues/714#issuecomment-631306363 |
|
|
|
DB_IMG= |
|
|
|
DB_IMG= |
|
|
|
DB_TAG= |
|
|
|
DB_TAG= |
|
|
|
DB_CONTAINER_NAME= |
|
|
|
DB_CONTAINER_NAME= |
|
|
|
DB_STOP_SIG=SIGINT |
|
|
|
DB_STOP_SIG= |
|
|
|
|
|
|
|
DB_STOP_GRC=30s |
|
|
|