Skip to content

Error due to missing file or directory #208

Answered by umputun
88Dezmond88 asked this question in Q&A
Discussion options

You must be logged in to vote

I ran it according to the instructions in this way.

I'm not sure what place in instuctions you used to mount - ./data:/srv/data, however this is wrong. this is the example from the repo:

# example of a minimal compose file to run tg-spam
services:
  tg-spam:
    image: umputun/tg-spam:master # use :latest tag for production
    hostname: tg-spam
    restart: always
    container_name: tg-spam
    logging:
      driver: json-file
      options:
        max-size: "10m"
        max-file: "5"
    environment:
      - TELEGRAM_TOKEN
      - TELEGRAM_GROUP
      - FILES_DYNAMIC=/srv/dynamic
    volumes:
      - ./var/tg-spam:/srv/dynamic # mount volume to store dynamic files

As you can see it…

Replies: 8 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by 88Dezmond88
Comment options

You must be logged in to vote
1 reply
@umputun
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #207 on December 28, 2024 03:14.