mirror of
https://github.com/Horhik/Instagram2Fedi.git
synced 2024-11-22 08:11:26 +00:00
add more variabes in env.sh
This commit is contained in:
parent
68f475f6e5
commit
971e74d254
5
env.sh
5
env.sh
|
@ -1,8 +1,13 @@
|
|||
#!b/in/sh
|
||||
|
||||
# Required
|
||||
export YOUR_CONTAINER_NAME=
|
||||
export I2M_INSTAGRAM_USER=
|
||||
export I2M_INSTANCE=
|
||||
export I2M_TOKEN=
|
||||
|
||||
export I2M_CHECK_INTERVAL=3600 #1 hour
|
||||
export I2M_POST_INTERVAL=3600 #1 hour
|
||||
export I2M_USE_MASTODON=4 #max carousel length is 4, if there's no limit set to -1
|
||||
export I2M_FETCH_COUNT=5 # how many instagram posts to fetch per check_interval
|
||||
|
||||
|
|
2
run.sh
2
run.sh
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
source ./env.sh
|
||||
docker build -t $YOUR_CONTAINER_NAME .; docker container run -it -v $(pwd):/app $YOUR_CONTAINER_NAME --use-docker 1 --instagram-user $I2M_INSTAGRAM_USER --instance $I2M_INSTANCE --token $I2M_TOKEN
|
||||
docker build -t $YOUR_CONTAINER_NAME .; docker container run -it -v $(pwd):/app $YOUR_CONTAINER_NAME --use-docker 1 --instagram-user $I2M_INSTAGRAM_USER --instance $I2M_INSTANCE --token $I2M_TOKEN --check-interval $I2M_CHECK_INTERVAL --post-interval $I2M_POST_INTERVAL --fetch-count $I2M_FETCH_COUNT --use-mastodon $I2M_USE_MASTODON
|
||||
|
|
Loading…
Reference in a new issue