Skip to content

Commit

Permalink
chore: remove version from docker compose files (#2058)
Browse files Browse the repository at this point in the history
Avoid the error:

WARN[0000] /home/user/projects/akhq/docker-compose-dev.yml: the attribute  is obsolete, it will be ignored, please remove it to avoid potential confusion
  • Loading branch information
mikaelol authored Feb 3, 2025
1 parent 1d801b9 commit d52bc00
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.6'

volumes:
zookeeper-data:
driver: local
Expand Down
1 change: 0 additions & 1 deletion docker-compose-multiple-clusters.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.6'
volumes:
zookeeper-data-0:
driver: local
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.6'

volumes:
zookeeper-data:
driver: local
Expand Down
1 change: 0 additions & 1 deletion docs/docs/configuration/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ docker run -d \
Override the `JVM_OPTS_FILE` with docker-compose:

```yaml
version: '3.7'
services:
akhq:
image: tchiotludo/akhq-jvm:dev
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Or build it with a `./gradlew shadowJar`, the jar will be located here `build/li
## Development Server

A docker-compose is provided to start a development environment.
Just install docker & docker-compose, clone the repository and issue a simple `docker-compose -f docker-compose-dev.yml up` to start a dev server.
Just install docker & docker compose plugin, clone the repository and issue a simple `docker compose -f docker-compose-dev.yml up` to start a dev server.
Dev server is a java server & webpack-dev-server with live reload.

The configuration for the dev server is in `application.dev.yml`.
Expand Down

0 comments on commit d52bc00

Please sign in to comment.