style: lint code
This commit is contained in:
@@ -4,14 +4,14 @@ x-defaults: &defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 100m
|
||||
max-file: "3"
|
||||
max-file: '3'
|
||||
|
||||
services:
|
||||
kodbox:
|
||||
<<: *defaults
|
||||
image: ${GLOBAL_REGISTRY:-}kodcloud/kodbox:${KODBOX_VERSION:-1.62}
|
||||
ports:
|
||||
- "${KODBOX_PORT:-80}:80"
|
||||
- '${KODBOX_PORT:-80}:80'
|
||||
volumes:
|
||||
- kodbox_data:/var/www/html
|
||||
environment:
|
||||
@@ -38,7 +38,7 @@ services:
|
||||
cpus: ${KODBOX_CPU_RESERVATION:-0.5}
|
||||
memory: ${KODBOX_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]
|
||||
test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:80/']
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
@@ -60,7 +60,7 @@ services:
|
||||
volumes:
|
||||
- kodbox_db_data:/var/lib/mysql
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p${MYSQL_ROOT_PASSWORD:-root123}"]
|
||||
test: [CMD, mysqladmin, ping, -h, localhost, -u, root, '-p${MYSQL_ROOT_PASSWORD:-root123}']
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -86,7 +86,7 @@ services:
|
||||
volumes:
|
||||
- kodbox_redis_data:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
test: [CMD, redis-cli, ping]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user