docker done

This commit is contained in:
Wolfgang Steuer
2019-11-20 14:58:46 +01:00
parent 0c0f02b32b
commit 2278a7a229
15 changed files with 545 additions and 5 deletions
+29
View File
@@ -68,6 +68,35 @@ Use [mysqltuner.pl](http://mysqltuner.pl "MySQL tuner - Use it!") for recommenda
https://github.com/NNTmux/newznab-tmux/wiki/Installing-Composer
## Docker
Copy .env.example -> .env, configure .env, mandatory fields:
- DB_*
- SPHINX_HOST=manticore
- SPHINX_PORT=9306
- NNTP_*
- ADMIN_*
- APP_TZ
- APP_KEY=base64:wbvPP9pBOwifnwu84BeKAVzmwM4TLvcVFowLcPAi6nA= # or generate one!!!
- REDIS_HOST=redis
- REDIS_PASSWORD=null
- REDIS_PORT=6379
´´´bash
docker-compose run --rm nn-tmux sh /tmp/install.sh
# answer the questions, since this will fetch predb entries this takes an hour or two, just press ctrl + c if you dont like it ;)
docker-compose run --rm --service-ports -T nn-tmux apachectl -D FOREGROUND
```
Open http://localhost:8089
sign in as admin (username, password from .env) and configure side settings and tmux settings
´´´bash
ctrl + c
docker-compose up nn-tmux
# check the logs, if everything is working fine ctrl + c
# start and run in background
docker-compose up nn-tmux -d
```
### Support
Support is given on irc.synirc.net #tmux channel.