# Global Settings LOCAL_STACK_DIR=/srv/docker/volumes/gitea # Networks NETWORK=webservices # Gitea and Database DB_TYPE=postgres DB_HOST=db:5432 DB_NAME=gitea DB_USER=gitea DB_PASSWD=passwordhere # Gitea GT_IMG= GT_TAG= GT_CONTAINER_NAME= GT_RESTART= # Database # If using PostgreSQL is better to use SIGTERM to power off the container which # 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://github.com/docker-library/postgres/issues/184#issuecomment-394822161 # https://github.com/docker-library/postgres/issues/714#issuecomment-631306363 DB_IMG= DB_TAG= DB_CONTAINER_NAME= DB_RESTART= DB_STOP_SIG= DB_STOP_GRC=30s