File tree Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ volumes:
5
5
esdata_local :
6
6
7
7
services :
8
- hellodjango_blog_tutorial_local :
8
+ hellodjango.rest.framework.tutorial.local :
9
9
build :
10
10
context : .
11
11
dockerfile : ./compose/local/Dockerfile
12
- image : hellodjango_blog_tutorial_local
13
- container_name : hellodjango_blog_tutorial_local
12
+ image : hellodjango_rest_framework_tutorial_local
13
+ container_name : hellodjango_rest_framework_tutorial_local
14
14
working_dir : /app
15
15
volumes :
16
16
- database_local:/app/database
@@ -19,14 +19,14 @@ services:
19
19
- " 8000:8000"
20
20
command : /start.sh
21
21
depends_on :
22
- - elasticsearch_local
22
+ - elasticsearch.local
23
23
24
- elasticsearch_local :
24
+ elasticsearch.local :
25
25
build :
26
26
context : .
27
27
dockerfile : ./compose/production/elasticsearch/Dockerfile
28
- image : hellodjango_blog_tutorial_elasticsearch_local
29
- container_name : hellodjango_blog_tutorial_elasticsearch_local
28
+ image : hellodjango_rest_framework_tutorial_elasticsearch_local
29
+ container_name : hellodjango_rest_framework_tutorial_elasticsearch_local
30
30
volumes :
31
31
- esdata_local:/usr/share/elasticsearch/data
32
32
ports :
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ volumes:
6
6
esdata :
7
7
8
8
services :
9
- hellodjango_blog_tutorial :
9
+ hellodjango.rest.framework.tutorial :
10
10
build :
11
11
context : .
12
12
dockerfile : compose/production/django/Dockerfile
13
- image : hellodjango_blog_tutorial
14
- container_name : hellodjango_blog_tutorial
13
+ image : hellodjango_rest_framework_tutorial
14
+ container_name : hellodjango_rest_framework_tutorial
15
15
working_dir : /app
16
16
volumes :
17
17
- database:/app/database
@@ -21,13 +21,15 @@ services:
21
21
ports :
22
22
- " 8000:8000"
23
23
command : /start.sh
24
+ depends_on :
25
+ - elasticsearch.local
24
26
25
27
nginx :
26
28
build :
27
29
context : .
28
30
dockerfile : compose/production/nginx/Dockerfile
29
- image : hellodjango_blog_tutorial_nginx
30
- container_name : hellodjango_blog_tutorial_nginx
31
+ image : hellodjango_rest_framework_tutorial_nginx
32
+ container_name : hellodjango_rest_framework_tutorial_nginx
31
33
volumes :
32
34
- static:/apps/hellodjango_blog_tutorial/static
33
35
ports :
@@ -38,8 +40,8 @@ services:
38
40
build :
39
41
context : .
40
42
dockerfile : ./compose/production/elasticsearch/Dockerfile
41
- image : hellodjango_blog_tutorial_elasticsearch
42
- container_name : hellodjango_blog_tutorial_elasticsearch
43
+ image : hellodjango_rest_framework_tutorial_elasticsearch
44
+ container_name : hellodjango_rest_framework_tutorial_elasticsearch
43
45
volumes :
44
46
- esdata:/usr/share/elasticsearch/data
45
47
ports :
You can’t perform that action at this time.
0 commit comments