Spotweb is a decentralized usenet community
1.8K
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):
| Key | Value |
|---|---|
| DB_ENGINE | default = pdo_mysql |
| DB_HOST | default = mysql |
| DB_PORT | default = 3306 |
| DB_NAME | default = spotweb |
| DB_USER | default = spotweb |
| DB_PASS | default = 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
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:
http://localhost:8085admin and password spotwebContent type
Image
Digest
sha256:d4326013c…
Size
60 MB
Last updated
almost 3 years ago
docker pull qballjos/spotweb