Skip to content

Commit fe28679

Browse files
committed
update compose files
1 parent 22cc167 commit fe28679

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
services:
2-
platformatic-app:
3-
build:
4-
context: .
5-
ports:
6-
- "3042:3042"
2+
app:
3+
extends:
4+
file: compose.yaml
5+
service: app
76
environment:
87
NODE_ENV: development
98
restart: unless-stopped
109
volumes:
11-
- .:/app
10+
- ./app:/app
1211
- /app/node_modules
1312
command: npm run start

samples/platformatic/app/compose.yaml renamed to samples/platformatic/compose.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
services:
2-
platformatic-app:
2+
app:
33
build:
4-
context: .
4+
context: ./app
5+
dockerfile: Dockerfile
56
ports:
67
- target: 3042
78
published: 3042
8-
protocol: tcp
99
mode: ingress
1010
environment:
1111
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
1217
restart: always
1318
deploy:
1419
resources:

0 commit comments

Comments
 (0)