File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed
jupyter/notebooks/.ipynb_checkpoints Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ services:
10
10
- ./jupyter/notebooks:/home/jovyan/work
11
11
12
12
db :
13
- image : postgres:14
13
+ extends :
14
+ service : db
15
+ file : compose.yaml
14
16
environment :
15
17
POSTGRES_PASSWORD : password
16
- ports :
17
- - " 5432:5432"
18
18
volumes :
19
19
- postgres_data:/var/lib/postgresql/data
20
20
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ services:
8
8
- mode : ingress
9
9
target : 8888
10
10
published : 8888
11
+ deploy :
12
+ resources :
13
+ limits :
14
+ cpus : ' 1.0'
15
+ memory : 1G
11
16
environment :
12
17
JUPYTER_TOKEN :
13
18
POSTGRES_PASSWORD :
@@ -20,6 +25,10 @@ services:
20
25
db :
21
26
image : postgres:14
22
27
x-defang-postgres : true
28
+ ports :
29
+ - mode : host
30
+ target : 5432
31
+ published : 5432
23
32
healthcheck :
24
33
test : ["CMD-SHELL", "pg_isready -U postgres"]
25
34
environment :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments