1
0
mirror of https://github.com/fcwu/docker-ubuntu-vnc-desktop synced 2026-08-05 16:12:41 +02:00

refactor: code restructure

1. split frontend and backend
2. simplify supervisor configuration
3. align backend log format with supervisor
4. set nginx worker to 1
5. delete static web pages
This commit is contained in:
Doro Wu
2018-03-13 21:24:45 +08:00
parent f5da5d152f
commit 99af8cd699
21 changed files with 14 additions and 292 deletions
@@ -0,0 +1,15 @@
class Default(object):
DEBUG = True
class Development(Default):
PHASE = 'development'
class Staging(Default):
PHASE = 'staging'
class Production(Default):
PHASE = 'production'
DEBUG = False