From 0669aeb8d61d505c8a9fd6cbbc279fe71519bc89 Mon Sep 17 00:00:00 2001 From: skrd Date: Thu, 2 Apr 2026 00:49:57 -0300 Subject: [PATCH] Ajustando configuraciones para moka --- .idea/.gitignore | 10 ++++++++++ .idea/modules.xml | 8 ++++++++ .idea/php.xml | 19 +++++++++++++++++++ .idea/server.iml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ stacks/moka/compose.yml | 22 ++++++++++++++++++---- 6 files changed, 69 insertions(+), 4 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/modules.xml create mode 100644 .idea/php.xml create mode 100644 .idea/server.iml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..30cf57e --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..fbd90b4 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..f324872 --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/server.iml b/.idea/server.iml new file mode 100644 index 0000000..c956989 --- /dev/null +++ b/.idea/server.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/stacks/moka/compose.yml b/stacks/moka/compose.yml index 6ce0fcb..33d4835 100644 --- a/stacks/moka/compose.yml +++ b/stacks/moka/compose.yml @@ -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