feat: docker-compose.yml with registry and mongo
This commit is contained in:
parent
b2a4b33e7d
commit
b5f8488af3
1 changed files with 28 additions and 4 deletions
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
services:
|
||||
registry:
|
||||
image: registry
|
||||
container_name: registry
|
||||
links:
|
||||
- mongodb
|
||||
depends_on:
|
||||
- mongodb
|
||||
environment:
|
||||
- MCP_REGISTRY_DATABASE_URL=mongodb://mongodb:27017
|
||||
- MCP_REGISTRY_ENVIRONMENT=test
|
||||
ports:
|
||||
- 8080:8080
|
||||
restart: "unless-stopped"
|
||||
mongodb:
|
||||
image: mongo
|
||||
container_name: mongodb
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
volumes:
|
||||
- './data:/data/db'
|
||||
ports:
|
||||
- 27017:27017
|
||||
restart: "unless-stopped"
|
||||
Loading…
Reference in a new issue