mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 17:21:04 +00:00
fix(service): reactive-resume template (#8048)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user