What happened?
services:
affine:
image: ghcr.io/toeverything/affine-graphql:canary
container_name: affine_selfhosted
command:
['sh', '-c', 'node ./scripts/self-host-predeploy && node ./dist/index.js']
ports:
- '3010:3010'
- '5555:5555'
depends_on:
redis:
condition: service_healthy
postgres:
condition: service_healthy
volumes:
# custom configurations
- /volume1/docker/affine/config:/root/.affine/config
# blob storage
- /volume1/docker/affine/storage:/root/.affine/storage
#logging:
#driver: 'json-file'
#options:
#max-size: '1000m'
restart: unless-stopped
environment:
#- NODE_OPTIONS=--es-module-specifier-resolution=node
- NODE_OPTIONS="--import=./scripts/register.js"
- AFFINE_CONFIG_PATH=/root/.affine/config
- REDIS_SERVER_HOST=redis
- DATABASE_URL=postgres://affine:affine@postgres:5432/affine
- NODE_ENV=production
- AFFINE_ADMIN_EMAIL=***
- AFFINE_ADMIN_PASSWORD=***
#- SERVER_FLAVOR=selfhosted
redis:
image: redis
container_name: affine_redis
restart: unless-stopped
volumes:
- /volume1/docker/affine/redis:/data
healthcheck:
test: ['CMD', 'redis-cli', '--raw', 'incr', 'ping']
interval: 10s
timeout: 5s
retries: 5
postgres:
image: postgres
container_name: affine_postgres
restart: unless-stopped
volumes:
- /volume1/docker/affine/postgres:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U affine']
interval: 10s
timeout: 5s
retries: 5
environment:
POSTGRES_USER: affine
POSTGRES_PASSWORD: affine
POSTGRES_DB: affine
PGDATA: /var/lib/postgresql/data/pgdata
i use admin user login success
i want to invite some one friend error
{
"errors": [
{
"message": "Failed to send invite email. Please try again.",
"locations": [
{
"line": 3,
"column": 3
}
],
"path": [
"invite"
],
"extensions": {
"code": 500,
"status": "INTERNAL_SERVER_ERROR"
}
}
],
"data": null
}
Distribution version
Linux
What browsers are you seeing the problem on if you're using web version?
Chrome
Relevant log output
No response
Anything else?
By the way, I see that AFFiNE Cloud storage is 10GB, and there is a storage limit for self hosted?
Are you willing to submit a PR?
What happened?
i use admin user login success
i want to invite some one friend error
Distribution version
Linux
What browsers are you seeing the problem on if you're using web version?
Chrome
Relevant log output
No response
Anything else?
By the way, I see that AFFiNE Cloud storage is 10GB, and there is a storage limit for self hosted?
Are you willing to submit a PR?