Skip to content

Commit 649ca0f

Browse files
Merge pull request #593 from DefangLabs/jordan/compose-project-names
add project names and deploy resources to all samples
2 parents 12b1663 + 8c6f6d6 commit 649ca0f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

compose.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1+
name: angular-express
12
services:
23
angular-frontend:
34
build:
45
context: ./frontend
56
ports:
6-
- target: 80
7-
published: 80
8-
mode: ingress
7+
- target: 80
8+
published: 80
9+
mode: ingress
910
restart: unless-stopped
1011
deploy:
1112
resources:
1213
reservations:
1314
memory: 64M
1415
depends_on:
15-
- backend
16-
16+
- backend
1717
backend:
1818
build:
1919
context: ./backend
2020
ports:
21-
- target: 3000
22-
published: 3000
23-
mode: ingress
21+
- target: 3000
22+
published: 3000
23+
mode: ingress
2424
environment:
25-
- PORT=3000
25+
- PORT=3000
2626
restart: unless-stopped
2727
deploy:
2828
resources:

0 commit comments

Comments
 (0)