-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
99 lines (90 loc) · 2.68 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
99 lines (90 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
networks:
standfor-net:
driver: bridge
services:
postgres:
image: docker.io/library/postgres:17-alpine
container_name: standfor-postgres
restart: unless-stopped
environment:
POSTGRES_USER: ${DATABASE_USER:-postgres}
POSTGRES_PASSWORD: ${DATABASE_PASSWORD:?DATABASE_PASSWORD is required}
POSTGRES_DB: ${DATABASE_DBNAME:-standfor_dev}
ports:
- "${DATABASE_PORT:-5432}:5432"
volumes:
- ./storage/postgres:/var/lib/postgresql/data:Z
networks:
- standfor-net
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${DATABASE_USER:-postgres}"]
interval: 10s
timeout: 5s
retries: 5
pgadmin:
image: docker.io/dpage/pgadmin4
container_name: standfor-pgadmin
restart: unless-stopped
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_EMAIL:-admin@admin.com}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD:?PGADMIN_PASSWORD is required}
PGADMIN_CONFIG_SERVER_MODE: "False"
ports:
- "5050:80"
depends_on:
postgres:
condition: service_healthy
networks:
- standfor-net
redis:
image: docker.io/library/redis:8-alpine
container_name: standfor-redis
restart: unless-stopped
command: ["redis-server", "--requirepass", "${REDIS_PASSWORD:?REDIS_PASSWORD is required}"]
ports:
- "${REDIS_PORT:-6379}:6379"
volumes:
- ./storage/redis:/data:Z
networks:
- standfor-net
healthcheck:
test: ["CMD", "redis-cli", "-a", "${REDIS_PASSWORD}", "ping"]
interval: 10s
timeout: 5s
retries: 5
redisinsight:
image: docker.io/redis/redisinsight:latest
container_name: standfor-redisinsight
restart: unless-stopped
ports:
- "5540:5540"
environment:
- RI_REDIS_HOST=standfor-redis
- RI_REDIS_PORT=6379
- RI_REDIS_PASSWORD=${REDIS_PASSWORD:?REDIS_PASSWORD is required}
depends_on:
redis:
condition: service_healthy
networks:
- standfor-net
meilisearch:
image: docker.io/getmeili/meilisearch:latest
container_name: standfor-meilisearch
restart: unless-stopped
ports:
- "7700:7700"
environment:
- MEILISEARCH_MASTER_KEY=${MEILI_MASTER_KEY:?MEILI_MASTER_KEY is required}
- MEILI_ENV=${MEILI_ENV:-development}
- MEILI_DB_PATH=${MEILI_DB_PATH:-/meili_data}
- MEILI_LOG_LEVEL=${MEILI_LOG_LEVEL:-INFO}
- MEILI_MAX_INDEXING_MEMORY=${MEILI_MAX_INDEXING_MEMORY:-512Mb}
volumes:
- ./storage/meilisearch:/meili_data:Z
networks:
- standfor-net
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7700/health"]
interval: 10s
timeout: 5s
retries: 5