-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml
48 lines (46 loc) · 1.01 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
services:
db:
image: postgres:16
environment:
- POSTGRES_DB=kala
- POSTGRES_USER=kala
- POSTGRES_PASSWORD=kala
web:
build:
context: .
entrypoint: /run-local.sh
volumes:
- ./django_kala:/code
ports:
- "8080:8000"
depends_on:
- db
environment:
- KALA_DATABASE_USER=kala
- KALA_DATABASE_PASSWORD=kala
- KALA_DATABASE_NAME=kala
- KALA_DATABASE_HOST=db
- KALA_AUTHENTICATION_METHOD=login
minio:
image: quay.io/minio/minio
ports:
- 9000:9000
- 9001:9001
command: server /data --console-address ":9001"
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- minio_data:/data
minio-bootstrap:
image: quay.io/minio/mc
depends_on:
- minio
entrypoint: >
/bin/sh -c "
/usr/bin/mc alias set kala http://minio:9000 minioadmin minioadmin;
/usr/bin/mc mb kala/kala-docs;
exit 0;
"
volumes:
minio_data: