PUID/GUID Specified - Not Respecting Environment Variables
I'm trying to troubleshoot whether or not there is an issue with explicit shell issue at the host level or the container level.
Error response from daemon: error while creating mount source path '/mnt/locationnotonhost/media/podcast/downloads': mkdir /mnt/locationnotonhost/media/podcast/downloads: permission denied
Here's my config that I cannot get to work.
`services: pinepods-db: container_name: pinepods-db image: postgres:latest restart: unless-stopped environment: - POSTGRES_DB=pinepods_database - POSTGRES_USER=postgres - POSTGRES_PASSWORD=myS3curepass - PGDATA=/var/lib/postgresql/data/pgdata volumes: - /opt/dockge/pinepods/pgdata:/var/lib/postgresql/data ports: - 5432:5432
pinepods-valkey: container_name: pinepods-valkey image: valkey/valkey:8-alpine restart: unless-stopped ports: - 6379:6379
pinepods: container_name: pinepods image: madeofpendletonwool/pinepods:latest restart: unless-stopped ports: - 8040:8040 environment: - TZ=America/Toronto - SEARCH_API_URL=https://search.pinepods.online/api/search - PEOPLE_API_URL=https://people.pinepods.online - HOSTNAME=http://192.168.0.15:8040 - USERNAME=myadminuser01 - PASSWORD=myS3curepass - FULLNAME=Pinepods Admin - [email protected] - DB_TYPE=postgresql - DB_HOST=pinepods-db - DB_PORT=5432 - DB_USER=postgres - DB_PASSWORD=myS3curepass - DB_NAME=pinepods_database - VALKEY_HOST=pinepods-valkey - VALKEY_PORT=6379 - DEBUG_MODE=false - PUID=3000 - PGID=3000 volumes: - /mnt/locationnotonhost/media/podcast/downloads:/opt/pinepods/downloads - /mnt/locationnotonhost/media/podcast/backups:/opt/pinepods/backups depends_on: - pinepods-db - pinepods-valkey`
My mounts are accessible with the local user of 3000, and when executing a mkdir command I can execute and write to them. If I change it to a local path, then the root user (0 in this case) writes to the directory rather than the 3000 user that's created.
I've done the following tasks for troubleshooting this.
export at the host level recreating the share links inside the containers debian and ubuntu both tested.