feat: Initial commit.
This commit is contained in:
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Duct Calc
|
||||||
|
|
||||||
|
Docker compose configuration for running duct-calc site.
|
||||||
20
compose.yaml
Normal file
20
compose.yaml
Normal 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
3
example.env
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
PORT=8080
|
||||||
|
DB_DIR=./data
|
||||||
|
SQLITE_FILENAME=./data/db.sqlite
|
||||||
Reference in New Issue
Block a user