File tree Expand file tree Collapse file tree 2 files changed +14
-25
lines changed Expand file tree Collapse file tree 2 files changed +14
-25
lines changed Original file line number Diff line number Diff line change 1
- version : ' 2'
1
+ ---
2
+ x-default-build-args : &default-build-args
3
+ PYTHON_VERSION : " 3.11.12"
4
+
5
+ x-default-environment : &default-environment
6
+ DATABASE_URL : postgres://postgres@postgres:5432/postgres
7
+ CELERY_BROKER_URL : redis://redis:6379/0
8
+
9
+ x-default-depends_on : &default-depends_on
10
+ - postgres
11
+ - redis
2
12
3
13
services :
4
14
postgres :
@@ -18,16 +28,11 @@ services:
18
28
build :
19
29
context : .
20
30
target : web
21
- args : &default-build-args
22
- PYTHON_VERSION : " 3.11.6"
23
- environment : &default-environment
24
- DATABASE_URL : postgres://postgres@postgres:5432/postgres
25
- CELERY_BROKER_URL : redis://redis:6379/0
31
+ args : *default-build-args
32
+ environment : *default-environment
26
33
ports :
27
34
- 8000:8000
28
- depends_on : &default-depends_on
29
- - postgres
30
- - redis
35
+ depends_on : *default-depends_on
31
36
32
37
worker :
33
38
build :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments