4
4
# <https://github.com/dandi/dandi-api/blob/master/docker-compose.override.yml>,
5
5
# but using images uploaded to Docker Hub instead of building them locally.
6
6
7
- version : ' 2.1'
8
-
9
7
services :
10
8
django :
11
9
image : dandiarchive/dandiarchive-api
@@ -19,7 +17,7 @@ services:
19
17
condition : service_healthy
20
18
rabbitmq :
21
19
condition : service_started
22
- environment :
20
+ environment : &django_env
23
21
DJANGO_CELERY_BROKER_URL : amqp://rabbitmq:5672/
24
22
DJANGO_CONFIGURATION : DevelopmentConfiguration
25
23
DJANGO_DANDI_DANDISETS_BUCKET_NAME : dandi-dandisets
@@ -32,7 +30,7 @@ services:
32
30
DJANGO_MINIO_STORAGE_SECRET_KEY : minioSecretKey
33
31
DJANGO_STORAGE_BUCKET_NAME : django-storage
34
32
DJANGO_MINIO_STORAGE_MEDIA_URL : http://localhost:9000/django-storage
35
- DJANGO_DANDI_SCHEMA_VERSION :
33
+ DJANGO_DANDI_SCHEMA_VERSION : ~
36
34
DJANGO_DANDI_WEB_APP_URL : http://localhost:8085
37
35
DJANGO_DANDI_API_URL : http://localhost:8000
38
36
DJANGO_DANDI_JUPYTERHUB_URL : https://hub.dandiarchive.org
@@ -63,25 +61,8 @@ services:
63
61
rabbitmq :
64
62
condition : service_started
65
63
environment :
66
- DJANGO_CELERY_BROKER_URL : amqp://rabbitmq:5672/
67
- DJANGO_CONFIGURATION : DevelopmentConfiguration
68
- DJANGO_DANDI_DANDISETS_BUCKET_NAME : dandi-dandisets
69
- DJANGO_DANDI_DANDISETS_LOG_BUCKET_NAME : dandiapi-dandisets-logs
70
- DJANGO_DANDI_DANDISETS_EMBARGO_BUCKET_NAME : dandi-embargoed-dandisets
71
- DJANGO_DANDI_DANDISETS_EMBARGO_LOG_BUCKET_NAME : dandiapi-embargo-dandisets-logs
72
- DJANGO_DATABASE_URL : postgres://postgres:postgres@postgres:5432/django
73
- DJANGO_MINIO_STORAGE_ACCESS_KEY : minioAccessKey
74
- DJANGO_MINIO_STORAGE_ENDPOINT : minio:9000
75
- DJANGO_MINIO_STORAGE_SECRET_KEY : minioSecretKey
76
- DJANGO_STORAGE_BUCKET_NAME : django-storage
77
- DJANGO_MINIO_STORAGE_MEDIA_URL : http://localhost:9000/django-storage
78
- DJANGO_DANDI_SCHEMA_VERSION :
64
+ << : *django_env
79
65
DJANGO_DANDI_VALIDATION_JOB_INTERVAL : " 5"
80
- DJANGO_DANDI_WEB_APP_URL : http://localhost:8085
81
- DJANGO_DANDI_API_URL : http://localhost:8000
82
- DJANGO_DANDI_JUPYTERHUB_URL : https://hub.dandiarchive.org
83
- DJANGO_DANDI_DEV_EMAIL :
" [email protected] "
84
- DANDI_ALLOW_LOCALHOST_URLS : " 1"
85
66
86
67
minio :
87
68
image : minio/minio:RELEASE.2022-04-12T06-55-35Z
0 commit comments