fix(service): reactive-resume template (#8048)
This commit is contained in:
parent
0cab2d4eaa
commit
14e33ba56a
1 changed files with 21 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
services:
|
||||
reactive-resume:
|
||||
image: amruthpillai/reactive-resume:latest
|
||||
image: amruthpillai/reactive-resume:v4.3.7
|
||||
environment:
|
||||
- SERVICE_URL_REACTIVERESUME_3000
|
||||
- PUBLIC_URL=$SERVICE_URL_REACTIVERESUME
|
||||
|
|
@ -31,6 +31,16 @@ services:
|
|||
- postgres
|
||||
- minio
|
||||
- chrome
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- node
|
||||
- '-e'
|
||||
- "require('http').get('http://127.0.0.1:3000', res => process.exit(res.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))"
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
environment:
|
||||
|
|
@ -69,7 +79,16 @@ services:
|
|||
- TIMEOUT=10000
|
||||
- CONCURRENT=10
|
||||
- TOKEN=$SERVICE_PASSWORD_CHROMETOKEN
|
||||
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- curl
|
||||
- '-f'
|
||||
- 'http://127.0.0.1:3000/'
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 5
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
command: redis-server
|
||||
|
|
|
|||
Loading…
Reference in a new issue