* remove Every App SDK and add auth modes for Cloudflare Access and local_noauth * align local dev auth defaults and normalize Access team domain * Apply suggestions from code review * restore local drizzle D1 URL helper * save * fix auth error mapping and document self-hosting setup * Tweak readme * improve auth config error UI and remove manifest link * fix team domain config validation and docs anchor
28 lines
662 B
YAML
28 lines
662 B
YAML
services:
|
|
open-seo:
|
|
build:
|
|
context: .
|
|
dockerfile: self-host/Dockerfile.selfhost
|
|
working_dir: /app
|
|
environment:
|
|
- PORT=${PORT:-3001}
|
|
- AUTH_MODE=local_noauth
|
|
- 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:
|