louisgrasset / touitomamout

Touitomamout is an easy way to synchronize your Twitter's tweets 🦤 to Mastodon 🦣 and Bluesky post ☁️ (also known as Twitter to Mastodon & Bluesky crossposter)
https://hub.docker.com/r/louisgrasset/touitomamout
GNU Affero General Public License v3.0
200 stars 11 forks source link

Issue with Docker and env file #243

Open omahon opened 2 days ago

omahon commented 2 days ago

Opening this as cannot re-open an older closed related issue.

Getting the following error in Docker when using generated environment variables in a .env.[bsky-handle] file. All relevant file permissions seem to be allowed so not sure what is causing the block, would appreciate any insight you can provide on this!

2024-12-03 13:05:00 touitomamout  | Error: No suitable .env file found.
2024-12-03 13:05:00 touitomamout  |     at file:///app/dist/index.js:10939:11 
2024-12-03 13:05:00 touitomamout  |     at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
2024-12-03 13:05:00 touitomamout  |     at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
2024-12-03 13:05:00 touitomamout  |     at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
2036-01-01 00:00:00 
touitomamout exited with code 1
c240amg commented 1 day ago

I have multiple env. files. I had issues with docker, and just went with the git download and manually syncing with node ./dist/index.js env.handle in multiple tmux sessions