initial commit
This commit is contained in:
45
docker-compose.yml
Normal file
45
docker-compose.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
services:
|
||||
overleaf-mcp:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: overleaf-mcp
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
environment:
|
||||
- OVERLEAF_EMAIL=${OVERLEAF_EMAIL}
|
||||
- OVERLEAF_PASSWORD=${OVERLEAF_PASSWORD}
|
||||
- PDF_DOWNLOAD_DIR=/data/resumes
|
||||
- LATEX_OUTPUT_DIR=/data/output
|
||||
- DEFAULT_TEMPLATE=software-engineer
|
||||
volumes:
|
||||
- browser-data:/root/.overleaf-mcp/browser-data
|
||||
- pdf-output:/data/resumes
|
||||
- latex-output:/data/output
|
||||
# Persist Let's Encrypt certificates
|
||||
- certs:/root/.local/share/mcp-auth-proxy
|
||||
shm_size: "2gb"
|
||||
security_opt:
|
||||
- seccomp=unconfined
|
||||
# mcp-auth-proxy flags — passed as command since ENTRYPOINT is set
|
||||
command:
|
||||
- --external-url
|
||||
- https://${MCP_DOMAIN}
|
||||
- --tls-accept-tos
|
||||
- --github-client-id
|
||||
- ${GITHUB_OAUTH_CLIENT_ID}
|
||||
- --github-client-secret
|
||||
- ${GITHUB_OAUTH_CLIENT_SECRET}
|
||||
- --allowed-user
|
||||
- ${GITHUB_ALLOWED_USER}
|
||||
- --
|
||||
- node
|
||||
- /app/dist/index.js
|
||||
|
||||
volumes:
|
||||
browser-data:
|
||||
pdf-output:
|
||||
latex-output:
|
||||
certs:
|
||||
Reference in New Issue
Block a user