Installation
This is another installation which I first installed on Container Manager in my Synology NAS, then to a Portainer Stack and then on to a simple Docker Compose file via SSH to my minipc server. Every migration was done seamlessly without loss of data.
- First change directory to your Docker folder (I keep all containers in a Docker folder). Add a folder called heimdall. Change directory to the heimdall and add a folder called config. Move back to the Heimdall directory and add a docker-compose file. To do this, the following command lines should be entered into the command line separately:
cd /docker
sudo mkdir heimdall
cd /docker/heimdall
sudo mkdir config
cd /docker/heimdall
sudo nano docker-compose.yml
- Once the nano editor is open, add the docker compose lines below:
** remember to change ID numbers, time zones to those applicable to you.
The ID numbers you can find with the command in this link -> Command to find userID and groupID .
The appropriate TZ can be found with the command in this link -> command to find your time zone, TZ.
services:
heimdall:
image: lscr.io/linuxserver/heimdall:latest
container_name: heimdall
environment:
- PUID=1000 #change to your own userID
- PGID=1000 #change to your own groupID
- TZ=America/Santo_Domingo #change to your own time zone
volumes:
- ./config:/config
ports:
- 890:80 #I use 890 for http, but you can change the left side port number to any other
- 891:443 #I use 891 for https, but you can change the left side port number to any other
restart: unless-stopped
- Press Ctrl-O and then enter to save the file. Ctrl-X to exit the Nano editor.
- Then start the container with the following command:
sudo docker compose up -d
- You can now enter heimdall in your internet browser with:
http://<local ip address>:890
- Add an application and mess around with the settings as you wish.
No Comments