From 0a0dee2dccb87a96ca19e23d09edb531e331bd72 Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Wed, 15 Apr 2026 18:26:20 +0000 Subject: [PATCH] heimdall ready for production --- {heimdall_dev => heimdall}/README.md | 0 .../docker-compose.yml => heimdall/compose.yaml | 7 ++++++- {heimdall_dev => heimdall}/sample.env | 8 +++----- vscode/README.md | 11 +++++++++++ 4 files changed, 20 insertions(+), 6 deletions(-) rename {heimdall_dev => heimdall}/README.md (100%) rename heimdall_dev/docker-compose.yml => heimdall/compose.yaml (74%) rename {heimdall_dev => heimdall}/sample.env (54%) diff --git a/heimdall_dev/README.md b/heimdall/README.md similarity index 100% rename from heimdall_dev/README.md rename to heimdall/README.md diff --git a/heimdall_dev/docker-compose.yml b/heimdall/compose.yaml similarity index 74% rename from heimdall_dev/docker-compose.yml rename to heimdall/compose.yaml index 36a0125..c0f9523 100644 --- a/heimdall_dev/docker-compose.yml +++ b/heimdall/compose.yaml @@ -1,7 +1,8 @@ +# Heimdall services: heimdall: image: ${HEIMDALL_IMAGE} - restart: unless-stopped + restart: ${HEIMDALL_RESTART:-unless-stopped} volumes: - ${VOL_PATH:-./data}/heimdall:/config environment: @@ -12,3 +13,7 @@ services: - 8000:80 networks: - proxy + +networks: + proxy: + external: true diff --git a/heimdall_dev/sample.env b/heimdall/sample.env similarity index 54% rename from heimdall_dev/sample.env rename to heimdall/sample.env index 986878d..e9598b6 100644 --- a/heimdall_dev/sample.env +++ b/heimdall/sample.env @@ -1,8 +1,6 @@ -# Heimdall Variables - -# Inclue cookbook.env - -# Heimdall HEIMDALL_IMAGE=linuxserver/heimdall:latest +HEIMDALL_RESTART=unless-stopped +VOL_PATH=/data HEIMDALL_PGID=1000 HEIMDALL_PUID=1000 +TZ=America/Vancouver \ No newline at end of file diff --git a/vscode/README.md b/vscode/README.md index b60b1ad..96d6487 100644 --- a/vscode/README.md +++ b/vscode/README.md @@ -10,6 +10,13 @@ VS Code - **Container Image:** [Docker Hub](https://hub.docker.com/r/linuxserver/code-server) - **Reverse Proxy Port:** `8443` +## Environment Variable Notes + +Data directory: +``` +- ${VOL_PATH:-./data}/vscode/data:/data +``` +This is where all your code is stored, it should be set to your 1000 user. Then you can move your code here as that user. ## Additional Notes / Gotchas @@ -31,6 +38,10 @@ ssh-keygen -t ed25519 -C "c@nickyeoman.com" cat ~/.ssh/id_ed25519.pub ``` +## Nginx Proxy manager + +If you are placing this behind NPM then you need to enable web sockets. + ## Dockhand Stack, Deploy from Git Cookbooks Repository