metatron-open-seo/compose.yaml
2026-03-09 23:37:58 -04:00

31 lines
859 B
YAML

services:
open-seo:
build:
context: .
dockerfile: self-host/Dockerfile.selfhost
working_dir: /app
environment:
- PORT=${PORT:-3001}
- BYPASS_GATEWAY_LOCAL_ONLY=true
- VITE_APP_ID=${VITE_APP_ID:-open-seo}
- VITE_GATEWAY_URL=${VITE_GATEWAY_URL:-http://localhost:${PORT:-3001}}
- GATEWAY_URL=${GATEWAY_URL:-http://localhost:${PORT:-3001}}
- DATAFORSEO_API_KEY=${DATAFORSEO_API_KEY}
- VITE_SHOW_DEVTOOLS=false
command:
[
"sh",
"-c",
"pnpm run db:migrate:local && pnpm exec vite dev --host 0.0.0.0 --port ${PORT:-3001}",
]
ports:
- "127.0.0.1:${PORT:-3001}:${PORT:-3001}"
volumes:
- .:/app
- open_seo_node_modules:/app/node_modules
- open_seo_pnpm_store:/pnpm/store
volumes:
open_seo_node_modules:
open_seo_pnpm_store: