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:
1010 - ./jupyter/notebooks:/home/jovyan/work
1111
1212 db :
13- image : postgres:14
13+ extends :
14+ service : db
15+ file : compose.yaml
1416 environment :
1517 POSTGRES_PASSWORD : password
16- ports :
17- - " 5432:5432"
1818 volumes :
1919 - postgres_data:/var/lib/postgresql/data
2020
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ services:
88 - mode : ingress
99 target : 8888
1010 published : 8888
11+ deploy :
12+ resources :
13+ limits :
14+ cpus : ' 1.0'
15+ memory : 1G
1116 environment :
1217 JUPYTER_TOKEN :
1318 POSTGRES_PASSWORD :
@@ -20,6 +25,10 @@ services:
2025 db :
2126 image : postgres:14
2227 x-defang-postgres : true
28+ ports :
29+ - mode : host
30+ target : 5432
31+ published : 5432
2332 healthcheck :
2433 test : ["CMD-SHELL", "pg_isready -U postgres"]
2534 environment :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments