Skip to content

Folders and files still owned by root even with PUID and PGID specified #565

Open
@kennywasafk

Description

@kennywasafk

Running changedetection via docker-compose, specifying PUID and PGID, but the folders and files it creates are still owned by root. Tried just UID and GID as well, not sure what the issue might be.

version: "3.9"

services:
  app:
    container_name: changedetection.io
    image: dgtlmoon/changedetection.io:latest
    restart: "always"
    ports:
      - "5000:5000"
    volumes:
      - "/volume1/docker/changedetection/datastore:/datastore"
    network_mode: "bridge"
    labels:
      - "com.centurylinklabs.watchtower.enable=true"
      - "com.centurylinklabs.watchtower.monitor-only=true"
    environment:
      - PUID=1030
      - PGID=100
    healthcheck:
      test: apt-get update -y > /dev/null && apt-get install -y curl > /dev/null && curl --fail -S http://www.google.com/ > /dev/null || exit 1
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 15s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions