forked from civitai/civitai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (63 loc) · 1.65 KB
/
docker-compose.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
version: '3.9'
services:
db:
image: postgres:alpine
container_name: db
ports:
- 5432:5432
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=modelshare
- POSTGRES_DB=postgres
volumes:
- ./postgres/data:/var/lib/postgresql/data
restart: unless-stopped
redis:
image: redis:alpine
container_name: redis
command: redis-server --requirepass "redis"
ports:
- 6379:6379
volumes:
- ./redis/data:/data
restart: unless-stopped
minio:
image: minio/minio
container_name: minio
ports:
- 9000:9000
- 9001:9001
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- ./minio/data:/data
command: minio server /data --console-address ":9001"
restart: unless-stopped
meilisearch:
image: getmeili/meilisearch:v1.2
container_name: meilisearch
ports:
- 7700:7700
volumes:
- ./meilisearch/data:/meili_data
environment:
- MEILI_MASTER_KEY=meilisearch
createbuckets:
image: minio/mc
container_name: createbuckets
depends_on:
- minio
entrypoint: >
/bin/sh -c " /usr/bin/mc config host add minio http://minio:9000 minioadmin minioadmin && /usr/bin/mc mb minio/modelshare && /usr/bin/mc policy set public minio/modelshare && /usr/bin/mc mb minio/settled && /usr/bin/mc policy set public minio/settled && exit 0"
restart: unless-stopped
maildev:
image: maildev/maildev
container_name: maildev
environment:
- MAILDEV_SMTP_PORT=1025
- MAILDEV_WEB_PORT=1080
ports:
- 1025:1025
- 1080:1080
restart: unless-stopped