Add postgres healthcheck
This commit is contained in:
		| @@ -10,6 +10,11 @@ services: | |||||||
|       - ./data/postgres:/var/lib/postgresql/data/ |       - ./data/postgres:/var/lib/postgresql/data/ | ||||||
|       - ./data/progs:/progs |       - ./data/progs:/progs | ||||||
|     restart: always |     restart: always | ||||||
|  |     healthcheck: | ||||||
|  |       test: pg_isready -U gitea -d giteadb | ||||||
|  |       interval: 10s | ||||||
|  |       timeout: 5s | ||||||
|  |       retries: 5 | ||||||
|  |  | ||||||
|   gitea: |   gitea: | ||||||
|     image: gitea/gitea:1 |     image: gitea/gitea:1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user