Coder Social home page Coder Social logo

jee-r / docker-weechat Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 34 KB

A Weechat docker image ๐Ÿ’ฌ

License: GNU General Public License v3.0

Dockerfile 60.74% Shell 39.26%
alpine-linux docker irc irc-client rootless rootless-containers weechat

docker-weechat's Introduction

docker-weechat

Docker Image Size (latest by date) GitHub Workflow Status (branch) Docker Pulls DockerHub ghcr.io

A docker image for weechat weechat logo
Check out my Glowing-bear docker image if you need a WebUI.

What is weechat ?

From weechat.io:

Full-featured IRC plugin: multi-servers, proxy support, IPv6, SASL authentication, nicklist, DCC, and many other features.

How to use these images

All the lines commented in the examples below should be adapted to your environment.

Note: --user $(id -u):$(id -g) should work out of the box on linux systems. If your docker host run on windows or if you want specify an other user id and group id just replace with the appropriates values.

With Docker

docker run \
    --detach \
    --interactive \
    --name weechat \
    --user $(id -u):$(id -g) \
    --volume /etc/localtime:/etc/localtime:ro \
    #--volume ./config:/config \
    --env TZ=Europe/Paris \
    #--publish 8000:8000 \
    #--publish 8001:8001 \
    j33r/weechat:latest

With Docker Compose

docker-compose can help with defining the docker run config in a repeatable way rather than ensuring you always pass the same CLI arguments.

Here's an example docker-compose.yml config:

version: '3'

services:
  weechat:
    image: j33r/weechat:latest
    container_name: weechat
    restart: unless-stopped
    user: $(id -u):$(id -g)
    #ports:
    #  - 8000:8000
    #  - 8002:8002
    environment:
      - TZ=Europe/Paris
    volumes:
      #- ./config:/config
      - /etc/localtime:/etc/localtime:ro

Volume mounts

Due to the ephemeral nature of Docker containers these images provide a number of optional volume mounts to persist data outside of the container:

  • /config: The weechat config directory containing weechat.conf, scripts, logs and all stuff to customize your weechat instance.
  • /etc/localtime: This directory is for have the same time as host in the container.

You should create directory before run the container otherwise directories are created by the docker deamon and owned by the root user

Environment variables

  • HOME: set home diretory for user in the container (default: /config).
  • TERM: set colors in termnal (default: screen-256color).
  • LANG: set locale (default: C.UTF-8).
  • TZ: To change the timezone of the container set the TZ environment variable. The full list of available options can be found on Wikipedia.

Ports

  • 8000: Non-ssl port for relay (change it if necessary).
  • 8002: Ssl port for relay (change it if necessary).

License

This project is under the GNU Generic Public License v3 to allow free use while ensuring it stays open.

docker-weechat's People

Contributors

jee-r avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-weechat's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
Dockerfile
  • alpine 3.20
  • alpine 3.20
github-actions
.github/workflows/build_test.yaml
  • actions/checkout v4
  • docker/setup-buildx-action v3
.github/workflows/deploy.yaml
  • actions/checkout v4
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • docker/login-action v3
  • docker/build-push-action v5
.github/workflows/mirroring.yaml
  • actions/checkout v4
  • jee-r/docker-git-mirror v1

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.