Skip to content

Commit 890be24

Browse files
committed
Add container labels
1 parent 8ae1832 commit 890be24

4 files changed

Lines changed: 13 additions & 5 deletions

File tree

docker-compose/common.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616
#
1717
# see: https://github.com/FIWARE/helm-charts/
1818
#
19-
version: "3.5"
19+
version: "3.8"
2020
services:
2121
# Databases
2222
mongo-db:
23+
labels:
24+
org.fiware: 'tutorial'
2325
image: mongo:${MONGO_DB_VERSION}
2426
hostname: mongo-db
2527
container_name: db-mongo
@@ -42,6 +44,8 @@ services:
4244

4345
# Tutorial displays a web app to manipulate the context directly
4446
tutorial:
47+
labels:
48+
org.fiware: 'tutorial'
4549
image: fiware/tutorials.context-provider
4650
hostname: tutorial
4751
container_name: fiware-tutorial
@@ -79,7 +83,9 @@ services:
7983

8084

8185
networks:
82-
default: ~
86+
default:
87+
labels:
88+
org.fiware: 'tutorial' ~
8389

8490
volumes:
8591
mongo-db: ~

docker-compose/orion-ld.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616
#
1717
# see: https://github.com/FIWARE/helm-charts/
1818
#
19-
version: "3.5"
19+
version: "3.8"
2020
services:
2121
# Orion is the context broker
2222
orion:
23+
labels:
24+
org.fiware: 'tutorial'
2325
image: fiware/orion-ld:${ORION_LD_VERSION}
2426
hostname: orion
2527
container_name: fiware-orion

docker-compose/scorpio-aaio.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#
1717
# see: https://github.com/FIWARE/helm-charts/
1818
#
19-
version: "3.5"
19+
version: "3.8"
2020

2121
services:
2222
zookeeper:

docker-compose/stellio.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3.5'
1+
version: "3.8"
22
services:
33
zookeeper:
44
image: confluentinc/cp-zookeeper:5.4.1

0 commit comments

Comments
 (0)