feat: add better auth sqlite runtime and server-side session flow
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
services:
|
||||
neta:
|
||||
build:
|
||||
context: .
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
DATA_DIR: /app/data
|
||||
NEXT_PUBLIC_SITE_URL: http://localhost:3000
|
||||
volumes:
|
||||
- neta-data:/app/data
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"node",
|
||||
"-e",
|
||||
"fetch('http://127.0.0.1:3000/api/health/ready').then((r)=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
neta-data:
|
||||
Reference in New Issue
Block a user