syncforynab / fintech-to-ynab

Automatically push Monzo and Starling transactions into YNAB in real time.
MIT License
248 stars 136 forks source link

Help with Docker #247

Closed add1989 closed 3 years ago

add1989 commented 3 years ago

Hi All,

I don't know if I'm being stupid here, but how do I find out which port the Docker container uses?

I've tried to run it with various different combinations but can't seem to figure it out:

sudo docker run -d \
 --name fintech2ynab \
 --restart=unless-stopped \
 -p 8080:8080 \
 -e YNAB_ACCESS_TOKEN="xxxx" \
 -e YNAB_BUDGET_ID="xxxx" \
 fintechtoynab/fintech-to-ynab

To help new users, could we perhaps put some sample docker commands in the getting started guide?

scottrobertson commented 3 years ago

Hey

Rails/puma uses port 3000 by default. Feel free to PR updates to the guide 👍

add1989 commented 3 years ago

When I fork the project it doesn't bring the wiki with it, so I can't find a way to edit that.

I will just leave my finished command here in case anybody searches for it:

sudo docker run -d \
 --name fintech2ynab \
 --restart=unless-stopped \
 -p <host port number>:3000 \
 -e YNAB_ACCESS_TOKEN="xxxx" \
 -e YNAB_BUDGET_ID="xxxx" \
 -e YNAB_MONZO_ACCOUNT_ID="xxxx" \
 fintechtoynab/fintech-to-ynab