45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
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: |