NOT DONE YET - allow containerization

a bunch was restructured to make it amenable to docker.

it works fine, except when writing to the db. trying to log in (thus creating a session)
will have Lapis throw "attempt to write a readonly database"
This commit is contained in:
2025-05-23 04:46:10 +03:00
parent af20b626d5
commit 0d7ed52679
7 changed files with 48 additions and 7 deletions

10
docker-compose.yml Normal file
View File

@ -0,0 +1,10 @@
services:
porom:
build:
context: .
ports:
- "8080:8080"
volumes:
- ./data/static:/app/data/static
- ./data/db:/app/data/db
- ./secrets:/app/secrets