create-mercato-app 0.4.2-canary-a35c67e068 → 0.4.2-canary-17c386eb25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mercato-app",
3
- "version": "0.4.2-canary-a35c67e068",
3
+ "version": "0.4.2-canary-17c386eb25",
4
4
  "type": "module",
5
5
  "description": "Create a new Open Mercato application",
6
6
  "main": "./dist/index.js",
@@ -0,0 +1,68 @@
1
+ services:
2
+ postgres:
3
+ image: pgvector/pgvector:pg17-trixie
4
+ container_name: mercato-postgres
5
+ restart: unless-stopped
6
+ environment:
7
+ POSTGRES_USER: ${POSTGRES_USER:-postgres}
8
+ POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
9
+ POSTGRES_DB: ${POSTGRES_DB:-open-mercato}
10
+ ports:
11
+ - "${POSTGRES_PORT:-5432}:5432"
12
+ volumes:
13
+ - postgres_data:/var/lib/postgresql/data
14
+ healthcheck:
15
+ test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
16
+ interval: 10s
17
+ timeout: 5s
18
+ retries: 5
19
+ networks:
20
+ - mercato-network
21
+
22
+ redis:
23
+ image: redis:7-alpine
24
+ container_name: mercato-redis
25
+ ports:
26
+ - "${REDIS_PORT:-6379}:6379"
27
+ volumes:
28
+ - redis_data:/data
29
+ healthcheck:
30
+ test: ["CMD", "redis-cli", "ping"]
31
+ interval: 10s
32
+ timeout: 5s
33
+ retries: 5
34
+ networks:
35
+ - mercato-network
36
+
37
+ meilisearch:
38
+ image: getmeili/meilisearch:v1.11
39
+ container_name: mercato-meilisearch
40
+ restart: unless-stopped
41
+ environment:
42
+ MEILI_ENV: development
43
+ MEILI_MASTER_KEY: ${MEILISEARCH_MASTER_KEY:-meilisearch-dev-key}
44
+ MEILI_NO_ANALYTICS: "true"
45
+ ports:
46
+ - "${MEILISEARCH_PORT:-7700}:7700"
47
+ volumes:
48
+ - meilisearch_data:/meili_data
49
+ healthcheck:
50
+ test: ["CMD", "curl", "-f", "http://localhost:7700/health"]
51
+ interval: 10s
52
+ timeout: 5s
53
+ retries: 5
54
+ networks:
55
+ - mercato-network
56
+
57
+ volumes:
58
+ postgres_data:
59
+ name: mercato-postgres-data
60
+ redis_data:
61
+ name: mercato-redis-data
62
+ meilisearch_data:
63
+ name: mercato-meilisearch-data
64
+
65
+ networks:
66
+ mercato-network:
67
+ name: mercato-network
68
+ driver: bridge