feature: docker development environment (#544)

Add docker support

It's self-contained so should not interfere with anything else and can easily be thrown out if nobody wants it anymore.
This commit is contained in:
Alex Headley
2019-01-15 12:02:59 -05:00
committed by Nicolas F
parent a6d800b4ca
commit 18ebf134d5
12 changed files with 343 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# This is only a partial config file that will be appended to the end of
# config.example.py to build the full config for the docker environment
SITE_NAME = 'Nyaa [DEVEL]'
GLOBAL_SITE_NAME = 'nyaa.devel'
SQLALCHEMY_DATABASE_URI = ('mysql://nyaadev:ZmtB2oihHFvc39JaEDoF@mariadb/nyaav2?charset=utf8mb4')
# MAIN_ANNOUNCE_URL = 'http://chihaya:6881/announce'
# TRACKER_API_URL = 'http://chihaya:6881/api'
BACKUP_TORRENT_FOLDER = '/nyaa-torrents'
ES_HOSTS = ['elasticsearch:9200']