We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f5a059 commit 4d834f9Copy full SHA for 4d834f9
docker/docker-compose-prod.yml
@@ -21,8 +21,11 @@ services:
21
command: ./gbans serve
22
23
postgres:
24
- image: postgis/postgis:15-3.3
+ build:
25
+ context: "."
26
+ dockerfile: postgres-ip4r.Dockerfile
27
restart: always
28
+ shm_size: 2gb
29
volumes:
30
- gbans_db:/var/lib/postgresql/data
31
ports:
@@ -33,6 +36,11 @@ services:
33
36
POSTGRES_PASSWORD: gbans
34
37
networks:
35
38
- prod_network
39
+ healthcheck:
40
+ test: [ "CMD-SHELL", "pg_isready -U gbans" ]
41
+ interval: 5s
42
+ timeout: 5s
43
+ retries: 10
44
45
minio:
46
# Files are currently designed to be served from
0 commit comments