feat: Initial commit.

This commit is contained in:
2026-01-15 16:06:21 -05:00
commit 6d93ede06d
3 changed files with 26 additions and 0 deletions

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# Duct Calc
Docker compose configuration for running duct-calc site.

20
compose.yaml Normal file
View File

@@ -0,0 +1,20 @@
services:
ductcalc:
container_name: ductcalc
image: git.housh.dev/swift-manual-d:latest
restart: unless_stopped
env_file:
- .env
ports:
- ${PORT:-8080}:8080
volumes:
- ${DB_DIR}:/app/data
networks:
- proxy
security_opt:
- no-new-privileges:true
networks:
proxy:
external: true

3
example.env Normal file
View File

@@ -0,0 +1,3 @@
PORT=8080
DB_DIR=./data
SQLITE_FILENAME=./data/db.sqlite