Docker compose files are comes in handy when considering container orchestration. Below example shows my docker compose files and folder structure.
---- Your Folder (heimdall)
-- config
-- docker-compose.yaml
You can run the docker compose file using docker-compose -d , and etc and lib folder will be automatically populated in the initiation.
--- Below shows the content of the docker-compose.yaml file.
version: "2.1" services: heimdall: image: linuxserver/heimdall:2.2.2-ls102 container_name: heimdall environment: - PUID=1000 - PGID=1000 volumes: - ./config:/config ports: - 9030:80 - 9031:443 restart: unless-stopped
Comments