lots of changes

This commit is contained in:
2025-03-28 16:13:38 -04:00
parent af1f384383
commit 396fd2f3b4
21 changed files with 1831 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
version: '3.8'
---
services:
app:
@@ -10,8 +10,7 @@ services:
environment:
- FLASK_APP=app.py
- FLASK_ENV=development
depends_on:
- db
nginx:
build:
context: ./nginx
@@ -19,13 +18,4 @@ services:
ports:
- "8080:80"
depends_on:
- app
db:
image: mariadb:10.6
environment:
MYSQL_ROOT_PASSWORD: your_root_password
MYSQL_DATABASE: radius
MYSQL_USER: radiususer
MYSQL_PASSWORD: radiuspassword
volumes:
- ./db-data:/var/lib/mysql # persistant data.
- app