Skip to content

Commit

Permalink
docker: remove legacy link and version
Browse files Browse the repository at this point in the history
version: https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-top-level-element-obsolete

---

link: https://docs.docker.com/engine/network/links/

having link in compose file result in error:
Error response from daemon: bad parameter: link is not supported
Error: executing /usr/libexec/docker/cli-plugins/docker-compose up -d: exit status 1
  • Loading branch information
nikromen committed Dec 2, 2024
1 parent 526473b commit cdc4b0f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
# Other ports:
# 5009:5432 -- PostgreSQL database

version: '3'

# this should be dolved by python3-daemon >= 3.0.0
# https://bugzilla.redhat.com/show_bug.cgi?id=2307635
x-ulimits: &ulimits_settings
Expand Down Expand Up @@ -128,8 +126,6 @@ services:
depends_on:
- database
- redis
links:
- database
stdin_open: true
tty: true
ports:
Expand Down

0 comments on commit cdc4b0f

Please sign in to comment.