services: boiler-energy: build: context: . dockerfile: Dockerfile container_name: boiler-energy restart: unless-stopped env_file: - boiler.env network_mode: host read_only: true tmpfs: - /tmp volumes: - ./data:/data security_opt: - no-new-privileges:true