• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Docker und Traefik

MitoCode

Active Member
Hallo,

ich versuche mittlerweile seit einiger Zeit, Sinusbot als Docker Container zu installieren und dabei alles durch Traefik laufen zu lassen.
Bisher habe ich folgende docker-compose.yml:

YAML:
version: '2'
services:
  sinusbot:
    image: sinusbot/docker
    environment:
      UID: 1001
      GID: 1001
    restart: always
    ports:
      - 8087:8087
    volumes:
      - /opt/sinusbot/scripts:/opt/sinusbot/scripts
      - /opt/sinusbot/data:/opt/sinusbot/data
    labels:
      - "traefik.docker.network=proxy"
      - "traefik.enable=true"
      - "traefik.http.routers.sinus-https.entrypoints=https"
      - "traefik.http.routers.sinus-https.rule=Host(`sinus.m170.dev`)"
      - "traefik.http.routers.sinus-https.tls=true"
      - "traefik.http.routers.sinus-https.tls.certresolver=le"
      - "traefik.http.services.sinus.loadbalancer.server.port=8080"
    networks:
     - proxy
networks:
  proxy:
    external: true

Der Container läuft auch: 1683797190611.png

Und in Traefik ist der Router auch erkannt:

1683797164000.png

Aus welchem Grund auch immer, kann ich nicht auf das Webinterface zugreifen. Die Logs sehen auch etwas mager aus:

Code:
2023/05/11 09:11:13 cb440152          INFO   Loading instances
2023/05/11 09:11:13 cb440152          INFO   Loading instance://6581e665-8904-4ccf-b80b-1da9c4a1ea34
2023/05/11 09:11:13 cb440152 6581e665 INFO   script command loaded
2023/05/11 09:11:13 cb440152 6581e665 INFO   Initialization complete
2023/05/11 09:11:13 [GENERAL/FFMPEG ] INFO   FFmpeg/avcodec v3876196; license: LGPL version 2.1 or later; 634 codecs
2023/05/11 09:11:13 [GENERAL/FFMPEG ] INFO   FFmpeg/avformat v3873636; license: LGPL version 2.1 or later; 334 formats
2023/05/11 09:11:13 [GENERAL/YTDL   ] INFO   youtube-dl checking...
2023/05/11 09:11:13 cb440152 6581e665 PLUGIN [                :113:12] Loaded SinusBot Commands v1.1.2 by Jonas Bögle (@irgendwr).
2023/05/11 09:11:13 cb440152 6581e665 PLUGIN [                :114:12] SinusBot v1.0.2 on linux
2023/05/11 09:11:13 cb440152 6581e665 INFO   script sinusbot-commands loaded
2023/05/11 09:11:14 [GENERAL/YTDL   ] INFO   youtube-dl version compatible, support enabled
2023/05/11 09:11:14 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:8087
2023/05/11 09:11:14 [GENERAL/RADIO  ] INFO   RadioStation data loaded
2023/05/11 09:11:14 [GENERAL/RADIO  ] INFO   Imported radio stations

Ich hoffe, dass man mir da helfen kann...

MfG,
Mito
 
Top