Ajustando configuraciones para moka

This commit is contained in:
skrd
2026-04-02 00:49:57 -03:00
parent 03c2c08c15
commit 0669aeb8d6
6 changed files with 69 additions and 4 deletions

View File

@@ -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