build(docker): add container setup with persistent ./data volume
Add a multi-stage Dockerfile (Vue build + .NET 10 publish) and a docker-compose service exposing port 8080 with a single bind mount ./data -> /app/data for SurrealDB persistence. Include an example compose file, a .dockerignore, and document Docker usage and version 0.0.1 in the README.
This commit is contained in:
@@ -13,6 +13,9 @@ Thumbs.db
|
||||
bin/
|
||||
obj/
|
||||
|
||||
# Local SurrealDB data (embedded RocksDB) — persisted next to the running app
|
||||
data/
|
||||
|
||||
# Node
|
||||
node_modules/
|
||||
dist/
|
||||
@@ -28,3 +31,7 @@ backend/local-docs/
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Docker — lokalne nadpisania
|
||||
docker-compose.override.yaml
|
||||
docker-compose.override.yml
|
||||
|
||||
Reference in New Issue
Block a user