Skip to content

Commit

Permalink
Remove version: from docker-compose yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Oct 26, 2024
1 parent b0eec9b commit 52d4ac0
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 30 deletions.
2 changes: 0 additions & 2 deletions app/docker-compose/container-name.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:

nginx:
Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose/depends-on.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:

nginx:
Expand Down
4 changes: 1 addition & 3 deletions app/docker-compose/env-files.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

version: '3.7'

# Two services have their own .env files
# These can be overriden by exporting an env-var
# These can be overridden by exporting an env-var
# to the .env files new absolute path before
# doing a [cyber-dojo up]
# eg
Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose/environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:

web:
Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose/images.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:
# env-vars come from cyberdojo/versioner:latest

Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose/networks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

networks:
cyber-dojo:
driver: bridge
Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose/ports.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:
nginx:
ports:
Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose/read_only.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:

custom-start-points:
Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose/restart.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:

nginx:
Expand Down
3 changes: 0 additions & 3 deletions app/docker-compose/swarm.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:

saver:
Expand All @@ -15,7 +13,6 @@ services:
memory: 64M
cpus: '0.5'

# - - - - - - - - - - - - - - - - - - - - - - -
nginx:
deploy:
mode: global
Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose/tmp-fs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:

creator:
Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose/user.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:

nginx:
Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose/volumes-mac.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:
runner:
volumes: [ "/var/run/docker.sock:/var/run/docker.sock" ]
Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose/volumes.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: '3.7'

services:
runner:
volumes: [ "/var/run/docker.sock:/var/run/docker.sock" ]
Expand Down

0 comments on commit 52d4ac0

Please sign in to comment.