Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

Networking and servers • Re: My First Home Server

$
0
0
Thank you so much for the help MiscBits, I've understood and create my first container :mrgreen:

Code:

CONTAINER ID   IMAGE                                          COMMAND   CREATED          STATUS          PORTS     NAMESec67bc1a5cec   ghcr.io/home-assistant/home-assistant:stable   "/init"   29 minutes ago   Up 29 minutes             home-assistantREPOSITORY                              TAG       IMAGE ID       CREATED       SIZEghcr.io/home-assistant/home-assistant   stable    c194049450a4   10 days ago   1.58GB
For this, i've created ~/docker-compose/docker-compose.yaml file like this:

Code:

version: '1'services:  home-assistant:    container_name: home-assistant    image: ghcr.io/home-assistant/home-assistant:stable    volumes:    - ~/docker-compose/home-assistant/.homeassistant:/config    environment:    - TZ=Europe/Rome    network_mode: host    restart: always
I've prefer to create the folder docker-compose so that I can create within it all the folder necessary for the service (Like docker-compose/home-assistant)

Is for sure a little thing for you but understand the logic of docker and container is not so much easier :lol:

Statistics: Posted by Cadmir — Mon Jul 29, 2024 5:49 pm



Viewing all articles
Browse latest Browse all 8093

Trending Articles