-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DISABLE_SIGNUPS not working #52
Labels
question
Further information is requested
Comments
Can you share your docker compose file? Can you also maybe share the output of: |
Sure!
I didn’t change anything in the compose file other than the port, but I just attached for compliance.
I’m running through unRAID and for some reason that is beyond my understanding the container is called docker-pub-1, so I ran `docker inspect docker-pub-1 | grep DISABLE_SIGNUPS` and this is the output:
"DISABLE_SIGNUPS=true”,
So it looks like the container can indeed see the variable which makes sense, because it was in the same .env file that I put in my OpenAI key.
And the compose file:
version: "3.8"
services:
web:
image: ghcr.io/mohamedbassem/hoarder-web:${HOARDER_VERSION:-release}
restart: unless-stopped
volumes:
- data:/data
ports:
- 3333:3000
env_file:
- .env
environment:
REDIS_HOST: redis
MEILI_ADDR: http://meilisearch:7700
DATA_DIR: /data
redis:
image: redis:7.2-alpine
restart: unless-stopped
volumes:
- redis:/data
chrome:
image: gcr.io/zenika-hub/alpine-chrome:100
restart: unless-stopped
command:
- --no-sandbox
- --disable-gpu
- --remote-debugging-address=0.0.0.0
- --remote-debugging-port=9222
meilisearch:
image: getmeili/meilisearch:v1.6
restart: unless-stopped
env_file:
- .env
volumes:
- meilisearch:/meili_data
workers:
image: ghcr.io/mohamedbassem/hoarder-workers:${HOARDER_VERSION:-release}
restart: unless-stopped
volumes:
- data:/data
env_file:
- .env
environment:
REDIS_HOST: redis
MEILI_ADDR: http://meilisearch:7700
BROWSER_WEB_URL: http://chrome:9222
DATA_DIR: /data
# OPENAI_API_KEY: ...
depends_on:
web:
condition: service_started
volumes:
redis:
meilisearch:
data:
|
Ah, I thought the signup tab is supposed to disappear completely.
My apologies, and thank you for the help.
|
hmmm, I might actually consider changing it so that it fully disappears. Makes sense. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I set the .env variable to
DISABLE_SIGNUPS=true
but it didn't disable the option.I ran
docker compose up -s
again after saving the .env already.The text was updated successfully, but these errors were encountered: