feat(docker): add split backend/frontend stacks and dynamic versioning

This commit is contained in:
Alphaeus Mote
2025-11-19 09:13:21 -05:00
parent be6d358086
commit f294047c87
19 changed files with 696 additions and 8 deletions
+37
View File
@@ -0,0 +1,37 @@
# Stack identification
STACK_NAME=stk-depl0y-001
STACK_BINDMOUNTROOT=custom/docker/stacks
# Image configuration
APPLICATION_IMAGENAME=Agit8or/Depl0y
APPLICATION_IMAGEVERSION=latest
# Networking
SERVICE_BIND_ADDRESS_EXTERNAL=0.0.0.0
APPLICATION_PORT_EXTERNAL=8080
APPLICATION_PORT_INTERNAL=8080
DNSSERVER=127.0.0.53
# Runtime user (mapped to host UID/GID)
UID=1000
GID=1000
# Application secrets (change these!)
SECRET_KEY=changeme
ENCRYPTION_KEY=changeme
LOG_LEVEL=INFO
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin
# Paths inside the container (normally leave at defaults)
DATABASE_URL=sqlite:////var/lib/depl0y/db/depl0y.db
ISO_STORAGE_PATH=/var/lib/depl0y/isos
UPLOAD_DIR=/var/lib/depl0y
CLOUDINIT_TEMPLATE_PATH=/var/lib/depl0y/cloud-init
SSH_KEY_PATH=/var/lib/depl0y/ssh_keys
LOG_FILE=/var/log/depl0y/app.log
FRONTEND_DIST_PATH=/opt/depl0y/frontend/dist
# Watchtower / auto-update
APPLICATION_ENABLEAUTOMATICUPDATES=true