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:
|
services:
|
||||||
reactive-resume:
|
reactive-resume:
|
||||||
image: amruthpillai/reactive-resume:latest
|
image: amruthpillai/reactive-resume:v4.3.7
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_URL_REACTIVERESUME_3000
|
- SERVICE_URL_REACTIVERESUME_3000
|
||||||
- PUBLIC_URL=$SERVICE_URL_REACTIVERESUME
|
- PUBLIC_URL=$SERVICE_URL_REACTIVERESUME
|
||||||
|
|
@ -31,6 +31,16 @@ services:
|
||||||
- postgres
|
- postgres
|
||||||
- minio
|
- minio
|
||||||
- chrome
|
- 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:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -69,7 +79,16 @@ services:
|
||||||
- TIMEOUT=10000
|
- TIMEOUT=10000
|
||||||
- CONCURRENT=10
|
- CONCURRENT=10
|
||||||
- TOKEN=$SERVICE_PASSWORD_CHROMETOKEN
|
- TOKEN=$SERVICE_PASSWORD_CHROMETOKEN
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
- CMD
|
||||||
|
- curl
|
||||||
|
- '-f'
|
||||||
|
- 'http://127.0.0.1:3000/'
|
||||||
|
interval: 10s
|
||||||
|
timeout: 3s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
command: redis-server
|
command: redis-server
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue