Description
Describe the bug
docker compose -links deprecated, does not run in podman
To Reproduce
podman compose up
Expected behavior
application runs
Logs
podman compose up
Executing external compose provider "/usr/local/bin/docker-compose". Please see podman-compose(1) for how to disable this message. <<<<
[+] Running 2/2
✔ Container mongodb Created 0.0s
✘ Container registry Error response from daemon:... 0.0s
Error response from daemon: bad parameter: link is not supported
Error: executing /usr/local/bin/docker-compose up: exit status 1
Additional context - FIX
services:
registry:
image: registry
container_name: registry
networks:
- mcpreg
depends_on:
- mongodb
environment:
- MCP_REGISTRY_DATABASE_URL=mongodb://mongodb:27017
- MCP_REGISTRY_ENVIRONMENT=test
- MCP_REGISTRY_GITHUB_CLIENT_ID
- MCP_REGISTRY_GITHUB_CLIENT_SECRET
ports:
- 8080:8080
restart: "unless-stopped"
mongodb:
image: mongo
user: mongodb
container_name: mongodb
networks:
- mcpreg
environment:
- PUID=1000
- PGID=1000
volumes:
- './.db:/data/db'
ports:
- 27017:27017
restart: "unless-stopped"
networks:
mcpreg: