File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1
1
services :
2
- platformatic-app :
3
- build :
4
- context : .
5
- ports :
6
- - " 3042:3042"
2
+ app :
3
+ extends :
4
+ file : compose.yaml
5
+ service : app
7
6
environment :
8
7
NODE_ENV : development
9
8
restart : unless-stopped
10
9
volumes :
11
- - .:/app
10
+ - ./app :/app
12
11
- /app/node_modules
13
12
command : npm run start
Original file line number Diff line number Diff line change 1
1
services :
2
- platformatic- app :
2
+ app :
3
3
build :
4
- context : .
4
+ context : ./app
5
+ dockerfile : Dockerfile
5
6
ports :
6
7
- target : 3042
7
8
published : 3042
8
- protocol : tcp
9
9
mode : ingress
10
10
environment :
11
11
NODE_ENV : production
12
+ PLT_SERVER_HOSTNAME : 0.0.0.0
13
+ PORT : 3042
14
+ PLT_SERVER_LOGGER_LEVEL : info
15
+ PLT_MANAGEMENT_API : true
16
+ PLT_SERVICE1_TYPESCRIPT : false
12
17
restart : always
13
18
deploy :
14
19
resources :
You can’t perform that action at this time.
0 commit comments