-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
SITE_NAME does not work? (docker) #710
Comments
I confirm the same issue here . |
Are there any developments underway on this entire project ? |
I think you have to set it in the settings page |
@rfedoruk in what level ? I can't see any input about that ! and what is the purpose of having that line in the beginning of the .env file ? |
I am not sure what the purpose of having that line is, I only recently self hosted this myself, but if you go into the settings page on an admin account, there is a place to add a custom domain, you can set that there. But I didn't and my links still work |
I have the same issue. The client part just seems to ignore all environment variables. The link in the terms of service is just https:// and redirects to undefined. |
The However, when you visit the official website |
Works for me: version: "3"
services:
kutt:
build: .
depends_on:
- postgres
- redis
- mailpit
command: ["./wait-for-it.sh", "postgres:5432", "--", "npm", "start"]
ports:
- "3010:3010"
env_file:
- .env
environment:
DB_HOST: postgres
DB_NAME: kutt
DB_USER: user
DB_PASSWORD: pass
REDIS_HOST: redis
volumes:
- ./.env:/usr/src/app/.env
redis:
image: redis:6.0-alpine
volumes:
- redis_data:/data
mailpit:
image: axllent/mailpit:latest
ports:
- "8025:8025"
- "1025:1025"
volumes:
- mailpit_data:/data
environment:
MP_MAX_MESSAGES: 5000
MP_DATABASE: /data/mailpit.db
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
postgres:
image: postgres:12-alpine
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: pass
POSTGRES_DB: kutt
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
redis_data:
postgres_data:
mailpit_data:
|
Running this on docker with caddy. Everything seems to work, except for the site name. The site shows up empty.
EDIT:
Also noticed that the site URL does not show on the site (under advanced) – just an empty dropdown list, but trying to add a domain in the settings panel gives me an error: You can't use the default domain
So something from the .env gets picked up. And e-mail works, etc. but it's not showing on the actual site.
Files:
.env file:
docker-compose.yml
The text was updated successfully, but these errors were encountered: