Horhik / Instagram2Fedi

Python script for crossposting from Instagram to Mastodon or Pixelfed
GNU General Public License v3.0
95 stars 7 forks source link

several insta #5

Closed condr-at closed 2 years ago

condr-at commented 2 years ago

Hello! Is there any way to crosspost from several insta accounts to one pixelfed?

Horhik commented 2 years ago

Who prevents you from launching several corsposters at one time? :) I think you can modify docker-compose file this way:

version: '3'
services:
  bot-1: # FIRST BOT
    build:
      context: .
    image: "horhik/instagram2fedi:latest"
    environment:
      - YOUR_CONTAINER_NAME=<whatever>
      - I2M_INSTAGRAM_USER=<instagram username> # FIRST INSTAGRAM ACCOUNT
      - I2M_INSTANCE=<mastodon or pixelfed instance>
      - I2M_TOKEN=<token> # SAME TOKEN
     # other variables ....

  bot-2: # SECOND BOT
    build:
      context: .
    image: "horhik/instagram2fedi:latest"
    environment:
      - YOUR_CONTAINER_NAME=<whatever>
      - I2M_INSTAGRAM_USER=<instagram username> # SECOND INSTAGRAM ACCOUNT
      - I2M_INSTANCE=<mastodon or pixelfed instance>
      - I2M_TOKEN=<token> # SAME TOKEN
     # other variables ....
condr-at commented 2 years ago

Will try. Thank you!