-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
Hello,
The current docker-compose.yml seems to use the older compose v1 syntax, which is deprecated. Updating it to Compose v2 could improve maintainability and compatibility with modern Docker versions.
Would it make sense to migrate the file to v2?
For example, following file is assumed:
services:
mongodb:
image: mongo:4.4
ports:
- "27017:27017"
volumes:
- ./data/db:/data/db
girder:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
depends_on:
- mongodb
command: --host 0.0.0.0 --database mongodb://mongodb:27017/girderMetadata
Metadata
Assignees
Labels
No labels