style: lint code
This commit is contained in:
@@ -8,7 +8,7 @@ x-defaults: &defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 100m
|
||||
max-file: "3"
|
||||
max-file: '3'
|
||||
|
||||
services:
|
||||
libsql:
|
||||
@@ -16,8 +16,8 @@ services:
|
||||
image: ${GHCR_IO_REGISTRY:-ghcr.io}/tursodatabase/libsql-server:${LIBSQL_VERSION:-latest}
|
||||
platform: ${LIBSQL_PLATFORM:-linux/amd64}
|
||||
ports:
|
||||
- "${LIBSQL_HTTP_PORT_OVERRIDE:-8080}:8080" # HTTP/Hrana API port
|
||||
- "${LIBSQL_GRPC_PORT_OVERRIDE:-5001}:5001" # gRPC port for replication
|
||||
- '${LIBSQL_HTTP_PORT_OVERRIDE:-8080}:8080' # HTTP/Hrana API port
|
||||
- '${LIBSQL_GRPC_PORT_OVERRIDE:-5001}:5001' # gRPC port for replication
|
||||
volumes:
|
||||
- libsql_data:/var/lib/sqld
|
||||
environment:
|
||||
@@ -31,7 +31,7 @@ services:
|
||||
# - SQLD_AUTH_JWT_KEY_FILE=${LIBSQL_AUTH_JWT_KEY_FILE:-}
|
||||
# - SQLD_AUTH_JWT_KEY=${LIBSQL_AUTH_JWT_KEY:-}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/health"]
|
||||
test: [CMD, wget, --quiet, --tries=1, --spider, 'http://localhost:8080/health']
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
@@ -53,8 +53,8 @@ services:
|
||||
profiles:
|
||||
- replica
|
||||
ports:
|
||||
- "${LIBSQL_REPLICA_HTTP_PORT_OVERRIDE:-8081}:8080"
|
||||
- "${LIBSQL_REPLICA_GRPC_PORT_OVERRIDE:-5002}:5001"
|
||||
- '${LIBSQL_REPLICA_HTTP_PORT_OVERRIDE:-8081}:8080'
|
||||
- '${LIBSQL_REPLICA_GRPC_PORT_OVERRIDE:-5002}:5001'
|
||||
volumes:
|
||||
- libsql_replica_data:/var/lib/sqld
|
||||
environment:
|
||||
@@ -65,7 +65,7 @@ services:
|
||||
- SQLD_HTTP_LISTEN_ADDR=${LIBSQL_HTTP_LISTEN_ADDR:-0.0.0.0:8080}
|
||||
- SQLD_GRPC_LISTEN_ADDR=${LIBSQL_GRPC_LISTEN_ADDR:-0.0.0.0:5001}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/health"]
|
||||
test: [CMD, wget, --quiet, --tries=1, --spider, 'http://localhost:8080/health']
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user