diff --git a/compose.yml b/compose.yml index b597471..4ee3a3a 100644 --- a/compose.yml +++ b/compose.yml @@ -10,7 +10,6 @@ services: volumes: - db_data:/var/lib/postgresql/data ports: - - "5432:5432" nuiks-sysmon: image: nuiks-sysmon:latest @@ -19,7 +18,7 @@ services: depends_on: - db ports: - - "8080:8080" + - "8000:8000" volumes: db_data: \ No newline at end of file diff --git a/main.py b/main.py index a0367c1..674662b 100644 --- a/main.py +++ b/main.py @@ -13,9 +13,8 @@ import threading if os.environ.get("DATABASE_URL") == None: os.environ["DATABASE_URL"] = "sqlite:///./wall_messages.db" -else +else: DATABASE_URL = os.environ["DATABASE_URL"] - DATABASE_PASSWORD = os.environ["DATABASE_PASSWORD"]