Ajustando configuraciones para moka
This commit is contained in:
@@ -24,7 +24,13 @@ services:
|
||||
- ${DATA_DIR}/storage:/app/storage
|
||||
healthcheck:
|
||||
<<: *healthcheck
|
||||
test: ["CMD", "php", "-r", "exit((int) !@fsockopen('127.0.0.1', 8000));"]
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"php",
|
||||
"-r",
|
||||
"exit((int) !@fsockopen('127.0.0.1', 8000));",
|
||||
]
|
||||
|
||||
queue:
|
||||
<<: *app-base
|
||||
@@ -84,19 +90,27 @@ services:
|
||||
volumes:
|
||||
- ${DATA_DIR}/db:/var/lib/postgresql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
|
||||
]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
redis:
|
||||
image: redis
|
||||
image: redis:alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ${DATA_DIR}/cache:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
test: [
|
||||
"CMD",
|
||||
"redis-cli",
|
||||
"ping"
|
||||
]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user