This repository was archived by the owner on Mar 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
65 lines (60 loc) · 1.48 KB
/
docker-compose.dev.yml
File metadata and controls
65 lines (60 loc) · 1.48 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
version: '3'
name: okampus
services:
postgres:
image: postgres:15.2-alpine
env_file:
- ./apps/site/.env
- ./apps/site/.env.development
ports:
- ${POSTGRES_PUBLISHED_PORT}:5432
volumes:
- ./.data/postgres:/var/lib/postgresql/data
- ./apps/site/database/init-scripts:/docker-entrypoint-initdb.d
healthcheck:
test: [ "CMD", "pg_isready", "-U", "postgres" ]
interval: 15s
timeout: 5s
retries: 5
pgadmin:
image: dpage/pgadmin4:latest
env_file:
- ./apps/site/.env
- ./apps/site/.env.development
ports:
- ${PGADMIN_PUBLISHED_PORT}:80
redis:
image: redis/redis-stack:latest
env_file:
- ./apps/site/.env
- ./apps/site/.env.development
ports:
- ${REDIS_PUBLISHED_PORT}:6379
- ${REDISINSIGHT_PUBLISHED_PORT}:8001
volumes:
- ./.data/redis:/data
environment:
ALLOW_EMPTY_PASSWORD: yes
minio:
image: minio/minio
env_file:
- ./apps/site/.env
- ./apps/site/.env.development
environment:
MINIO_ACCESS_KEY: ${S3_ACCESS_KEY_ID}
MINIO_SECRET_KEY: ${S3_SECRET_ACCESS_KEY}
command: server --console-address ":9001" /data
ports:
- 19000:9000
- 19001:9001
volumes:
- ./.data/minio:/data
meilisearch:
image: getmeili/meilisearch
env_file:
- ./apps/site/.env
- ./apps/site/.env.development
ports:
- ${MEILI_PUBLISHED_PORT}:7700
volumes:
- ./.data/meili:/meili_data