remove version attribs in docker compose files

This commit is contained in:
Sönke Domröse
2025-04-24 16:18:55 +02:00
parent e20873ef4e
commit 77f66dab01
4 changed files with 1 additions and 11 deletions

View File

@@ -1,7 +1,3 @@
version: "3"
# optional ports are specified throughout for more advanced use cases.
services: services:
app-service: app-service:
restart: unless-stopped restart: unless-stopped

View File

@@ -84,10 +84,6 @@
# 0.61 2024-07-27 fix networks + version 3.0 # 0.61 2024-07-27 fix networks + version 3.0
# 0.62 2024-07-27 fix # 0.62 2024-07-27 fix
##################################################################################### #####################################################################################
#the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
#version: '3.0'
# networks # networks
# create a network 'guacnetwork_compose' in mode 'bridged' # create a network 'guacnetwork_compose' in mode 'bridged'
networks: networks:

View File

@@ -1,5 +1,4 @@
# Jenkins Sandbox
version: "3"
services: services:
jenkins: jenkins:
image: jenkins/jenkins:lts image: jenkins/jenkins:lts

View File

@@ -30,7 +30,6 @@
# For more extensive installation and update instructions, refer to the # For more extensive installation and update instructions, refer to the
# documentation. # documentation.
version: "3.4"
services: services:
broker: broker:
image: docker.io/library/redis:7 image: docker.io/library/redis:7