add shipyard labels
This commit is contained in:
@ -12,6 +12,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 5173:5173
|
- 5173:5173
|
||||||
client-react-nginx:
|
client-react-nginx:
|
||||||
|
labels:
|
||||||
|
shipyard.primary-route: true
|
||||||
|
shipyard.route: '/'
|
||||||
image: client-react-nginx
|
image: client-react-nginx
|
||||||
build:
|
build:
|
||||||
context: ../05-example-web-application/client-react/
|
context: ../05-example-web-application/client-react/
|
||||||
@ -23,6 +26,8 @@ services:
|
|||||||
- 80:8080
|
- 80:8080
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
api-node:
|
api-node:
|
||||||
|
labels:
|
||||||
|
shipyard.route: '/api/node/'
|
||||||
image: api-node
|
image: api-node
|
||||||
build:
|
build:
|
||||||
context: ../05-example-web-application/api-node/
|
context: ../05-example-web-application/api-node/
|
||||||
@ -39,6 +44,8 @@ services:
|
|||||||
- 3000:3000
|
- 3000:3000
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
api-golang:
|
api-golang:
|
||||||
|
labels:
|
||||||
|
shipyard.route: '/api/golang/'
|
||||||
image: api-golang
|
image: api-golang
|
||||||
build:
|
build:
|
||||||
context: ../05-example-web-application/api-golang/
|
context: ../05-example-web-application/api-golang/
|
||||||
|
|||||||
Reference in New Issue
Block a user