Sign inSign up

qballjos/spotweb

By qballjos

•Updated almost 3 years ago

Spotweb is a decentralized usenet community

Image
0

1.8K

qballjos/spotweb repository overview

⁠Quick setup using dockerfile

Spotweb always requires a database server (e.g. MySQL), the easiest solution is to use the docker-compose setup. The other option is to manually specify an external server using the ENV variables below.

docker run -p 8085:80 --name spotweb -d -v /etc/localtime:/etc/localtime:ro qballjos/spotweb

Provide one or more of the following environment variables to configure the database server (all optional, default values are given below):

KeyValue
DB_ENGINEdefault = pdo_mysql
DB_HOSTdefault = mysql
DB_PORTdefault = 3306
DB_NAMEdefault = spotweb
DB_USERdefault = spotweb
DB_PASSdefault = spotweb

E.g. to configure server with host some.external.mysql-server.com and port 6612 do the following:

docker run -p 8085:80 --name spotweb -d -v /etc/localtime:/etc/localtime:ro -e "DB_HOST=some.external.mysql-server.com" -e "DB_PORT=6612" qballjos/spotweb

⁠Quick setup using docker compose

services:
  spotweb:
    image: qballjos/spotweb
    ports:
      - "8085:80"
    depends_on:
      - "mysql"
  mysql:
    image: "mysql"
    environment:
      MYSQL_ROOT_PASSWORD: 123
      MYSQL_USER: spotweb
      MYSQL_PASSWORD: spotweb
      MYSQL_DATABASE: spotweb
    volumes:
      - dbdata:/var/lib/mysql

volumes:
  dbdata:
  • Visit http://localhost:8085
  • Login with username admin and password spotweb
  • Configure usenet server and wait for cronjob to update (runs once every 5 minutes)

Tag summary

Content type

Image

Digest

sha256:d4326013c…

Size

60 MB

Last updated

almost 3 years ago

docker pull qballjos/spotweb