-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (43 loc) · 899 Bytes
/
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
version: '3'
services:
minio:
container_name: minio
image: bitnami/minio:latest
hostname: minio
restart: always
volumes:
- ./minio:/data
- ..env:/minio.env
env_file:
- .env
environment:
- MINIO_ROOT_USER=$MINIOLOG
- MINIO_ROOT_PASSWORD=$MINIOPASS
ports:
- "9000:9000"
- "9001:9001"
django_app:
build:
context: .
dockerfile: Dockerfile_django
container_name: django-app
environment:
- PYTHONUNBUFFERED=1
ports:
- "8000:8000"
my_utils:
build:
context: .
dockerfile: Dockerfile_utils
environment:
- PYTHONUNBUFFERED=1
container_name: my-utils
depends_on:
- minio
- django_app
#env_file:
# - .env
# environment:
# POSTGRES_USER: $POSTGRES_USER
# POSTGRES_PASSWORD: $POSTGRES_PASSWORD
# POSTGRES_DB: $POSTGRES_DB