January 13, 201511 yr Please excuse the absolute noob question, but i have never used docker before.... How do i mount or access my unraid shares from within a docker app? I am trying to set up sab, sickrage & CP, but i cant see my network shares from within these apps, I think i might have missed a step? Thanks in advance for your help. Cheers!
January 13, 201511 yr This is done with the Volume Mappings. The folders you want to access in unRAID is the Host part of the Volume Mapping, and what you want the docker to call that folder is the Container part of the Volume Mapping. If you need a more concrete example, post a screenshot of your Docker Containers showing the volume mappings, or maybe a screenshot of the popup page where you configure one of your dockers, and we can go from there.
January 19, 20233 yr hi @trurl. Can i please have your assistance on this? here is an example (below) of a docker compose script. I need to be able to specify a folder within appdata for its static content. specifically, the storage of both containers and the database. how would you edit this script to do this? volumes: mongodb_data: { driver: local } networks: default: external: false **_YOUR-CUSTOM-DOCKER-NETWORK_**: external: true services: rocketchat: image: registry.rocket.chat/rocketchat/rocket.chat:${RELEASE:-latest} restart: on-failure labels: traefik.enable: "true" traefik.http.routers.rocketchat.rule: Host(`${DOMAIN}`) traefik.http.routers.rocketchat.tls: "true" traefik.http.routers.rocketchat.entrypoints: https traefik.http.routers.rocketchat.tls.certresolver: le environment: MONGO_URL: "${MONGO_URL:-\ mongodb://${MONGODB_ADVERTISED_HOSTNAME:-mongodb}:${MONGODB_INITIAL_PRIMARY_PORT_NUMBER:-27017}/\ ${MONGODB_DATABASE:-rocketchat}?replicaSet=${MONGODB_REPLICA_SET_NAME:-rs0}}" MONGO_OPLOG_URL: "${MONGO_OPLOG_URL:\ -mongodb://${MONGODB_ADVERTISED_HOSTNAME:-mongodb}:${MONGODB_INITIAL_PRIMARY_PORT_NUMBER:-27017}/\ local?replicaSet=${MONGODB_REPLICA_SET_NAME:-rs0}}" ROOT_URL: ${ROOT_URL:-http://localhost:${HOST_PORT:-3001}} PORT: ${PORT:-3001} DEPLOY_METHOD: docker DEPLOY_PLATFORM: ${DEPLOY_PLATFORM} depends_on: - mongodb expose: - ${PORT:-3001} networks: - default - YOUR-CUSTOM-DOCKER-NETWORK ports: - "${BIND_IP:-0.0.0.0}:${HOST_PORT:-3001}:${PORT:-3001}" mongodb: image: docker.io/bitnami/mongodb:${MONGODB_VERSION:-4.4} restart: on-failure volumes: - mongodb_data:/bitnami/mongodb environment: MONGODB_REPLICA_SET_MODE: primary MONGODB_REPLICA_SET_NAME: ${MONGODB_REPLICA_SET_NAME:-rs0} MONGODB_PORT_NUMBER: ${MONGODB_PORT_NUMBER:-27017} MONGODB_INITIAL_PRIMARY_HOST: ${MONGODB_INITIAL_PRIMARY_HOST:-mongodb} MONGODB_INITIAL_PRIMARY_PORT_NUMBER: ${MONGODB_INITIAL_PRIMARY_PORT_NUMBER:-27017} MONGODB_ADVERTISED_HOSTNAME: ${MONGODB_ADVERTISED_HOSTNAME:-mongodb} MONGODB_ENABLE_JOURNAL: ${MONGODB_ENABLE_JOURNAL:-true} ALLOW_EMPTY_PASSWORD: ${ALLOW_EMPTY_PASSWORD:-yes}
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.