Last active
October 15, 2025 10:52
-
-
Save ajeetraina/6ceb2c5a71a48baf1e1f813613da70c8 to your computer and use it in GitHub Desktop.
Compose file for MCP Gateway
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat > compose.yaml << 'EOF' | |
services: | |
gateway: | |
image: docker/mcp-gateway | |
command: | |
- --servers=atlassian | |
- --secrets=/run/secrets/atlassian_secrets | |
- --transport=sse | |
- --port=8811 | |
- --verbose | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
secrets: | |
- atlassian_secrets | |
ports: | |
- "8811:8811" | |
secrets: | |
atlassian_secrets: | |
file: ./secrets/jira.env | |
EOF | |
cat secrets/jira.env | |
# It should have URL and username too! | |
cat > secrets/jira.env << 'EOF' | |
atlassian.jira.api_token=ATATT3xFXXX | |
atlassian.jira.personal_token=ATATT3xFfGF0IQSzXXXXX_1vmoXiv5LKlsMnCaHMRkwDy8uPdd4vdT7dgWaYj6vkTOJ-ufdL4z_zkoqOFq8S7gSB_z2iX-5PlLmPKm_3C-QJu0jY=60BF4364 | |
atlassian.confluence.api_token=dummy | |
atlassian.confluence.personal_token=dummy | |
atlassian.jira.url=https://your-domain.atlassian.net | |
[email protected] | |
EOF | |
# Restart to pick up the changes | |
docker compose restart gateway | |
docker compose logs -f gateway |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cat > .env << 'EOF'
JIRA_URL=https://your-domain.atlassian.net
JIRA_USERNAME=[email protected]
JIRA_API_TOKEN=your_token_here
JIRA_PERSONAL_TOKEN=your_token_here
EOF