-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.override.example.yml
64 lines (61 loc) · 1.16 KB
/
docker-compose.override.example.yml
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
volumes:
minio:
redis:
x-app: &app
env_file:
- .env
build:
context: .
args:
- UID=${UID}
- GID=${GID}
- http_proxy=${http_proxy}
- https_proxy=${http_proxy}
networks:
internal:
volumes:
- ./:/enju
depends_on:
- postgres
- solr
- redis
restart: always
services:
minio:
image: quay.io/minio/minio:RELEASE.2024-08-03T04-33-23Z
volumes:
- minio:/data
entrypoint:
/bin/sh -c "mkdir -p /data/${ENJU_LEAF_STORAGE_BUCKET} && minio server /data --console-address \":9001\""
expose:
- 9000
- 9001
env_file:
- .env
restart: always
networks:
internal:
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
profiles:
- develop
redis:
image: redis:6
volumes:
- redis:/data
command: redis-server --appendonly yes
networks:
internal:
expose:
- 6379
restart: always
healthcheck:
test: ["CMD-SHELL", "redis-cli ping"]
interval: 30s
timeout: 5s
retries: 3
profiles:
- develop