stackernews / stacker.news

Internet communities that pay you Bitcoin
https://stacker.news
MIT License
404 stars 105 forks source link

Remove .env.local from env_file #1113

Closed ekzyis closed 2 months ago

ekzyis commented 2 months ago

Description

Arrays for env_file are only supported in Docker Compose >=v2.24 which is too new (from January 2024). Most distros distribute older packages.

Since --env-file as defined in the sndev script acts as an override for env_file anyway, we can safely remove it here.

Additional Context

See https://github.com/stackernews/stacker.news/pull/1082#issuecomment-2081230695 and https://github.com/stackernews/stacker.news/commit/dd6e921e2e00950f19da5bd6d76769c89268d1bb#r141433414

Checklist