diff --git a/compose.yaml b/compose.yaml index 90097a984..09859dc0d 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,11 +1,49 @@ -version: "3.3" +name: homepage services: homepage: - image: ghcr.io/gethomepage/homepage:latest container_name: homepage + image: abambah/homepage:latest ports: - - 3000:3000 - volumes: - - /home/avnit/homepage/config:/app/config # Make sure your local config directory exists - - /var/run/docker.sock:/var/run/docker.sock:ro # optional, for docker integrations + - mode: ingress + target: 3000 + published: "3000" + protocol: tcp restart: unless-stopped + volumes: + - type: bind + source: /home/avnit/homepage/config + target: /app/config + bind: + create_host_path: true + - type: bind + source: /var/run/docker.sock + target: /var/run/docker.sock + read_only: true + bind: + create_host_path: true + devices: [] + cap_add: [] + command: [] + environment: [] + networks: + - default + privileged: false + hostname: homepage + cpu_shares: 90 + deploy: + resources: + limits: + memory: 15969M +networks: + default: + name: homepage_default +x-casaos: + hostname: "" + scheme: http + index: / + port_map: 3000 + author: self + category: self + icon: "" + title: + custom: Homepage diff --git a/compose.yaml.bak b/compose.yaml.bak new file mode 100644 index 000000000..90097a984 --- /dev/null +++ b/compose.yaml.bak @@ -0,0 +1,11 @@ +version: "3.3" +services: + homepage: + image: ghcr.io/gethomepage/homepage:latest + container_name: homepage + ports: + - 3000:3000 + volumes: + - /home/avnit/homepage/config:/app/config # Make sure your local config directory exists + - /var/run/docker.sock:/var/run/docker.sock:ro # optional, for docker integrations + restart: unless-stopped