style: lint code
This commit is contained in:
@@ -4,7 +4,7 @@ x-defaults: &defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 100m
|
||||
max-file: "3"
|
||||
max-file: '3'
|
||||
|
||||
x-common-env: &common-env
|
||||
REDIS_URL: ${REDIS_URL:-redis://redis:6379}
|
||||
@@ -73,7 +73,7 @@ services:
|
||||
nuq-postgres:
|
||||
condition: service_started
|
||||
ports:
|
||||
- "${FIRECRAWL_PORT_OVERRIDE:-3002}:${INTERNAL_PORT:-3002}"
|
||||
- '${FIRECRAWL_PORT_OVERRIDE:-3002}:${INTERNAL_PORT:-3002}'
|
||||
command: node dist/src/harness.js --start-docker
|
||||
deploy:
|
||||
resources:
|
||||
@@ -85,14 +85,13 @@ services:
|
||||
memory: ${FIRECRAWL_API_MEMORY_RESERVATION:-2G}
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"wget",
|
||||
"--no-verbose",
|
||||
"--tries=1",
|
||||
"--spider",
|
||||
"http://localhost:3002/health",
|
||||
]
|
||||
- CMD
|
||||
- wget
|
||||
- --no-verbose
|
||||
- --tries=1
|
||||
- --spider
|
||||
- 'http://localhost:3002/health'
|
||||
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
@@ -113,7 +112,7 @@ services:
|
||||
cpus: ${REDIS_CPU_RESERVATION:-0.25}
|
||||
memory: ${REDIS_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
test: [CMD, redis-cli, ping]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
@@ -127,7 +126,7 @@ services:
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-postgres}
|
||||
ports:
|
||||
- "${POSTGRES_PORT_OVERRIDE:-5432}:5432"
|
||||
- '${POSTGRES_PORT_OVERRIDE:-5432}:5432'
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
deploy:
|
||||
@@ -139,7 +138,7 @@ services:
|
||||
cpus: ${NUQPOSTGRES_CPU_RESERVATION:-0.5}
|
||||
memory: ${NUQPOSTGRES_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
|
||||
test: [CMD-SHELL, 'pg_isready -U ${POSTGRES_USER:-postgres}']
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user