Skip to content

Commit d461878

Browse files
chore(compose): remove container_name entries from services in compose.yaml
1 parent aa4503d commit d461878

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

spring-kafka-example/compose.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22

33
app:
4-
container_name: app
54
build:
65
context: .
76
ports:
@@ -23,7 +22,6 @@ services:
2322

2423
kafka:
2524
image: apache/kafka:4.0.0
26-
container_name: kafka
2725
ports:
2826
- "9092:9092"
2927
- "9093:9093"
@@ -43,7 +41,6 @@ services:
4341
- kafka-net
4442

4543
kafka-init:
46-
container_name: kafka-init
4744
image: apache/kafka:4.0.0
4845
depends_on:
4946
kafka:

spring-keycloak-example/compose.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
services:
33

44
app:
5-
container_name: app
65
build:
76
context: .
87
dockerfile: Dockerfile
@@ -24,7 +23,6 @@ services:
2423
- spring_keycloak
2524

2625
keycloak:
27-
container_name: keycloak
2826
build:
2927
context: .
3028
dockerfile: Dockerfile.keycloak
@@ -58,7 +56,6 @@ services:
5856

5957
keycloak-database:
6058
image: postgres:17.5-alpine3.22
61-
container_name: keycloak-database
6259
environment:
6360
POSTGRES_USER: postgres #⚠️ DO NOT USE IN PRODUCTION
6461
POSTGRES_PASSWORD: password #⚠️ DO NOT USE IN PRODUCTION

spring-prometheus-grafana-example/compose.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
services:
33

44
app:
5-
container_name: app
65
build:
76
context: .
87
environment:
@@ -12,7 +11,6 @@ services:
1211
- "80:80"
1312

1413
prometheus:
15-
container_name: prometheus
1614
image: prom/prometheus:v3.5.0
1715
ports:
1816
- "9090:9090"
@@ -24,7 +22,6 @@ services:
2422
- app
2523

2624
grafana:
27-
container_name: grafana
2825
image: grafana/grafana:12.1.1
2926
ports:
3027
- "3000:3000"

0 commit comments

Comments
 (0)