mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
heimdall ready for production
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user