Development
This commit is contained in:
parent
0cec7d69c9
commit
e37029a066
3 changed files with 1 additions and 3 deletions
|
|
@ -5,7 +5,6 @@ from flask import session
|
|||
|
||||
APP_DIR = _os.path.dirname(_os.path.abspath(__file__))
|
||||
CONFIGS_DIR = '/routlin_location'
|
||||
DATA_DIR = '/data'
|
||||
WWW_DIR = '/www'
|
||||
ACCOUNTS_FILE = f'{APP_DIR}/authorized_accounts.json'
|
||||
CONFIG_FILE = f'{CONFIGS_DIR}/config.json'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ from flask import session
|
|||
from markupsafe import Markup
|
||||
import json, re, sys, html as html_mod, os, subprocess
|
||||
from config_utils import (
|
||||
config_hash, load_config, CONFIGS_DIR, DATA_DIR, WWW_DIR, APP_DIR,
|
||||
config_hash, load_config, CONFIGS_DIR, WWW_DIR, APP_DIR,
|
||||
ACCOUNTS_FILE, HEALTH_FILE, BLOCKLISTS_DIR,
|
||||
fmt_timestamp, relative_time, fmt_bytes, resolve_iface,
|
||||
WEB_APP_DISPLAY_NAME,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ services:
|
|||
ports:
|
||||
- "25327:25327"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./www:/www
|
||||
- $HOME/routlin:/routlin_location
|
||||
- /sys/class/net:/sys/class/net:ro
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue