fix: update docker-compose to use image reference
- docker-compose.yml now uses gitea.ext.ben.io/b3nw/gitea-mcp:latest - Added docker-compose.dev.yml for local development builds
This commit is contained in:
17
docker-compose.dev.yml
Normal file
17
docker-compose.dev.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Development compose file - builds from local source
|
||||||
|
# Usage: docker compose -f docker-compose.dev.yml up --build
|
||||||
|
services:
|
||||||
|
gitea-mcp:
|
||||||
|
build: .
|
||||||
|
container_name: gitea-mcp-dev
|
||||||
|
restart: "no"
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 5s
|
||||||
@@ -1,12 +1,13 @@
|
|||||||
services:
|
services:
|
||||||
gitea-mcp:
|
gitea-mcp:
|
||||||
build: .
|
image: gitea.ext.ben.io/b3nw/gitea-mcp:latest
|
||||||
container_name: gitea-mcp
|
container_name: gitea-mcp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
env_file:
|
environment:
|
||||||
- .env
|
- GITEA_URL=${GITEA_URL}
|
||||||
|
- GITEA_TOKEN=${GITEA_TOKEN}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|||||||
Reference in New Issue
Block a user