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