#Help with docker compose file

1 messages · Page 1 of 1 (latest)

keen chasm
#

Hello! I'm attempting to get kometa to run on a docker compose file and be able to have it run once on startup and still start on my scheduled run times. For whatever reason with these current settings(below) it will run on startup but then exit and not run at scheduled times. With the commented out settings it will not run on startup but follows my schedule as I desire. Can I have it do both?

    container_name: kometa
    environment:
      - KOMETA_RUN=true
#      - KOMETA_RUN=false
     restart: on-failure
#    restart: unless-stopped
grizzled prismBOT
#

Welcome @keen chasm!

Someone from <@&938443185347244033> will assist when they're available.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

glossy flare
#

No; the two modes are mutually exclusive.
The typical solution would be two containers; one that runs and exits on demand and one that runs on the schedule.

keen chasm
#

Okay, thank you!