File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 1
1
version : ' 3'
2
2
3
+ networks :
4
+ app-network :
5
+ driver : bridge
6
+
3
7
volumes :
4
8
cache :
5
9
driver : local
@@ -13,6 +17,8 @@ services:
13
17
build :
14
18
context : .
15
19
container_name : tasklist
20
+ networks :
21
+ - app-network
16
22
depends_on :
17
23
- db
18
24
- minio
@@ -25,6 +31,8 @@ services:
25
31
db :
26
32
image : postgres:15.1-alpine
27
33
container_name : postgres
34
+ networks :
35
+ - app-network
28
36
environment :
29
37
- POSTGRES_USER=${POSTGRES_USERNAME}
30
38
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
@@ -37,6 +45,8 @@ services:
37
45
image : redis:7.2-rc-alpine
38
46
restart : always
39
47
container_name : redis
48
+ networks :
49
+ - app-network
40
50
ports :
41
51
- ' 6379:6379'
42
52
command : redis-server --save 20 1 --loglevel warning --requirepass ${REDIS_PASSWORD}
@@ -46,6 +56,8 @@ services:
46
56
minio :
47
57
image : minio/minio:latest
48
58
container_name : minio
59
+ networks :
60
+ - app-network
49
61
environment :
50
62
- MINIO_ROOT_USER=${MINIO_ACCESS_KEY}
51
63
- MINIO_ROOT_PASSWORD=${MINIO_SECRET_KEY}
You can’t perform that action at this time.
0 commit comments