fix: Remove healthcheck as script type is not supported by nomads docker driver
This commit is contained in:
parent
a374d6df5d
commit
d03948fba4
1 changed files with 2 additions and 11 deletions
|
@ -48,16 +48,7 @@
|
|||
"target": "/var/lib/postgresql/data",
|
||||
"source": "coder-data"
|
||||
}
|
||||
],
|
||||
"healthcheck": {
|
||||
"test": [
|
||||
"CMD-SHELL",
|
||||
"pg_isready -U ${POSTGRES_USER:-username} -d ${POSTGRES_DB:-coder}"
|
||||
],
|
||||
"interval": "5s",
|
||||
"timeout": "5s",
|
||||
"retries": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"Env": {
|
||||
"POSTGRES_USER": "${POSTGRES_USER:-username}",
|
||||
|
@ -100,4 +91,4 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue