I have a docker container running in portainer. I have added an SMB volume to the container. Does anyone know how I can update this docker container using docker-compose without undoing my changes? Thanks
@selfhosted @Docker @portainerio

  • Catsrules@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    You can just mount the SMB volume using docker-compose.

    I think have some example compose files if you need some example.

    • LordChaos82@fosstodon.orgOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      @Catsrules Thanks. This specific to Immich. The upload location in the docker-compose is picked from .env file. I, for the life of me, cannot figure out how to mount the portainer SMB volume in the .env file. What I ended up doing was to select the containers using the upload location and edit the volume to attach the SMB share volume from portainer. I hope what I said makes sense. I am just a newbie learning docker right now.