angristan / feedbin-docker

Self-host your own Feedbin RSS reader in Docker
MIT License
252 stars 35 forks source link

Enhance .env variable documentation #4

Open ldexterldesign opened 4 years ago

ldexterldesign commented 4 years ago

Hi,

Hope you're safe

Thanks so much for creating this 🤯

I've been trying to get this build running on multiple occasions over the past few weeks and I'm on the verge of giving up and using https://miniflux.app but I just wanted to try one last time tonight, hopefully with your help 🙏

Copy .env.example to .env and fill ALL the variables - https://github.com/angristan/feedbin-docker#setup

Please make this file more descriptive e.g. variable options and/or comments?:

FORCE_SSL= FORCE_SSL=[true | false | 'true' | 'false' | undefined] FORCE_SSL= // undefined == false

Oh yeah that was one of the PR I made for Feedbin. If you're running as localhost without HTTPS, set FORCE_SSL=false, I forgot to add it (6d0a06d) - https://github.com/angristan/feedbin-docker/issues/1#issuecomment-585354566

NB seeing this in the same file confuses me:

AWS_S3_PATH_STYLE="true"

If you have any issues (e.g. questions/queries) then happy to help

Keep up kind work!

Hope to hear back

Sincerely

ldexterldesign commented 4 years ago

Apart from the fantastic password choice 💅, are there any obvious problems with this?:

# Minio
MINIO_ACCESS_KEY=password
MINIO_SECRET_KEY=password

# Caddy
CADDYPATH=/etc/ssl/caddy

# Camo
CAMO_HOST=https://camo.feedbin.domain.tld
CAMO_KEY=password

# Rails
RACK_ENV=production
RAILS_ENV=production
PORT=3000
SECRET_KEY_BASE=password
DEFAULT_URL_OPTIONS_HOST=feedbin.domain.tld
PUSH_URL=https://feedbin.domain.tld
FEEDBIN_URL=https://feedbin.domain.tld
FEEDBIN_HOST=feedbin.domain.tld
FORCE_SSL=false

# Databases
ELASTICSEARCH_URL=http://elasticsearch:9200
MEMCACHED_HOSTS=memcached:11211
REDIS_URL=redis://feedbin-redis:6379

POSTGRES=postgres
POSTGRES_USERNAME=feedbin
POSTGRES_USER=feedbin
POSTGRES_PASSWORD=password
DATABASE_URL=postgres://feedbin:feedbin@postgres/feedbin_production

# S3
AWS_ACCESS_KEY_ID=password
AWS_SECRET_ACCESS_KEY=password
AWS_S3_BUCKET=feedbin
AWS_S3_BUCKET_FAVICONS=feedbin
AWS_S3_ENDPOINT=https://minio.feedbin.domain.tld
AWS_S3_PATH_STYLE="true"
ENTRY_IMAGE_HOST=minio.feedbin.domain.tld

Hope to hear back

Sincerely

angristan commented 4 years ago

Hey, thanks for the feedback. I agree that these variables need more documentation (especially upstream).

Sorry if I misunderstood, but are you experiencing an issue with your feedbin installation?

ldexterldesign commented 4 years ago

[...] are you experiencing an issue with your feedbin installation?

👉 https://github.com/angristan/feedbin-docker/issues/5

Thanks

ldexterldesign commented 4 years ago

https://github.com/feedbin/feedbin/issues/299