Commit Graph

10 Commits

Author SHA1 Message Date
Tiberiu Chibici c28e4eaaa7 Removed unnecessary config volume. 2018-12-30 00:19:35 +02:00
Tiberiu Chibici 700fe2add0 Updated dockerfile with renamed env variable (YTSM_DATA_DIR). 2018-12-30 00:16:32 +02:00
Tiberiu Chibici 0329645c37 Integrated django-dynamic-preferences library into project. Settings are now stored in the database, the ini file only contains a minimal number of settings. 2018-12-10 01:15:10 +02:00
Tiberiu Chibici d8f4151242 Added /media location to nginx, so it fetches the downloaded thumbnails. 2018-11-02 02:50:49 +02:00
Tiberiu Chibici 1fafd859b7 Fixed docker image. Fixed issue with environment variable interpolation (on Linux, it is case sensitive, so converting to lowercase was bad. Cleaned up directory structure. 2018-11-02 02:25:15 +02:00
Brandon baaf9577da Environment Variables and Docker standalone support (#21)
* Ignore .dist folder used by visual studio code

* Add example env file

* Added environment variables

* Ignore env file

* Added default name to be ytmanager instead

* Default to postgres

* Update example env for postgres instead of sqlite

* Added default as postgres as well in settings

* Add volume for sqlite3 database storage (incase desired)

* Added example env file for sqlite3 configuration

* whitespace for sanity of my own

* Add database_url as an optional env variable

* hopefully working towards chibicitiberiu/ytsm#6

* Added default command

* Expose 8000

* Added environment variable prefixes

* added environment variable to parse for dj_database_url

* Take out command in docker-compose since it's already in the Dockerfile as a cmd

* SQLite as default

* Create Docker README with information about how to run with Docker

* Took out postgres. If people desire it, they can add it themselves.

* Took out db depenednecy for docker-compose

* Change cmd

* Fixed up commands to run better in readme

* Added underscore to Docker_README

* Change default .db file location
2018-10-31 17:57:32 +02:00
Jett Jackson 192c63362a
Merge branch 'master' into master 2018-10-30 18:05:39 +08:00
chibicitiberiu 7f932e4010
Fixed issue where server was running in 2 instances (once with guinicorn and once with manage.py runserver) 2018-10-30 12:04:08 +02:00
Jett Jackson 003181eafa
Remove redundant command 2018-10-30 17:45:56 +08:00
Jett Jackson 84b0c2e861
Added docker support 2018-10-30 14:15:49 +08:00