Skip to content

Mounts and user ids in docker-compose.yml #3

Description

@klpn

The Docker Compose YAML file will not work with a Docker Compose, for custom paths and storage in a POSIX filesystem, unless mounts mapping to the host filesystem are specified, and the uids and gids for the app user (1654) are synced with the users on the host. Storage__FileSystemStorageService__BasePath and Storage__FileSystemStorageService__TempFilePath refer to paths within the container. E.g., assuming /data/app/doris-{data,tmp} are created in the host filesystem and owned by the user with uid 1654 on the host.

      - Storage__FileSystemStorageService__BasePath=/home/app/doris-data
      - Storage__FileSystemStorageService__TempFilePath=/home/app/doris-tmp
    volumes:
      - type: bind
        source: /data/app
        target: /home/app      

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions