Comments (6)
Issue Status: ✅ Done
✅ Done
If the issue was a bug, it’s been fixed; if it was a missing feature, it’s been implemented.
This is an automatic reply by the bot.
from affine.
@darkskygit pls take a look
from affine.
are you using the docker compose file in our repo? seems the AFFINE_SERVER_HOST
and AFFINE_SERVER_HTTPS
env are not effective
if you using k8s, you need import the envs by corresponding syntax in k8s config
or if you using docker-compose, please provide the command that you using to bootstrap the containers
from affine.
are you using the docker compose file in our repo? seems the
AFFINE_SERVER_HOST
andAFFINE_SERVER_HTTPS
env are not effective if you using k8s, you need import the envs by corresponding syntax in k8s configor if you using docker-compose, please provide the command that you using to bootstrap the containers
I am using podman with podman-compose to build containers from official compose.yml (https://github.com/toeverything/AFFiNE/blob/canary/.github/deployment/self-host/compose.yaml).
I can see that the volume with the config folder was successfully mounted and the .env file can be read from inside the container:
# podman inspect affine_selfhosted
...
"Mounts": [
{
"Type": "bind",
"Source": "/root/.affine/self-host/config",
"Destination": "/root/.affine/config",
"Driver": "",
"Mode": "",
"Options": [
"rbind"
],
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/root/.affine/self-host/storage",
"Destination": "/root/.affine/storage",
"Driver": "",
"Mode": "",
"Options": [
"rbind"
],
...
# podman exec affine_selfhosted cat /root/.affine/config/.env
AFFINE_PRIVATE_KEY=-----BEGIN EC PRIVATE KEY-----
[REDACTED]==
-----END EC PRIVATE KEY-----
# AFFINE_SERVER_PORT=3010
# AFFINE_SERVER_HOST=affine.[REDACTED]
# AFFINE_SERVER_HTTPS=true
# DATABASE_URL="postgres://affine@localhost:5432/affine"
from affine.
# podman exec affine_selfhosted cat /root/.affine/config/.env # AFFINE_SERVER_PORT=3010 # AFFINE_SERVER_HOST=affine.[REDACTED] # AFFINE_SERVER_HTTPS=true # DATABASE_URL="postgres://affine@localhost:5432/affine"
please remove #
prefix
from affine.
# podman exec affine_selfhosted cat /root/.affine/config/.env # AFFINE_SERVER_PORT=3010 # AFFINE_SERVER_HOST=affine.[REDACTED] # AFFINE_SERVER_HTTPS=true # DATABASE_URL="postgres://affine@localhost:5432/affine"
please remove
#
prefix
Wow, that's so embarrassing 😁 Issue is fixed, obviously.
Thank you and sorry for the time taken.
from affine.
Related Issues (20)
- ResizeObserver loop completed with undelivered notifications. HOT 1
- Close button overlaps with left sidebar button on macOS HOT 2
- UnhandledRejection: Non-Error promise rejection captured with value: Sortable: `el` must be an HTMLElement, not [obje... HOT 1
- Workspace synchronized are not available offline HOT 2
- When exporting, please include the current page and all subpages HOT 2
- React ErrorBoundary GraphQLError: GraphQL query responds unexpected result HOT 1
- Workspace Performance Issue Due to Continuous Cloud Sync HOT 6
- pdf preview issue HOT 3
- Sort and reorder collections and pages with the mouse HOT 4
- Can't start docker container HOT 2
- Improve the smoothness of opening pages HOT 2
- Disabling of third-party integrations for self-hosted deployments HOT 3
- Option / How to remove "Updated at" and "Info" repeated texts on every single page HOT 7
- Option to remove / Reduce distracting Animations HOT 4
- Option to remove the icon repeated on every line of a Database HOT 3
- After a Notion import : Affine did not save the page HOT 3
- Remove deceptive marketing about the "Sorting" feature on database from the Affine landing page HOT 2
- 在桌面客户端中有时无法正常输入中文 HOT 3
- Error when click the uprade button about Price Plan on my self-host Affine HOT 2
- Edit internal chain HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from affine.