I don't want to use root to run nextcloud, so I've found out if
' - REDIS_HOST=redis configured
REDIS_HOST_PORT=6379', nextcloud will not start due to permission issues, when this configuration is removed, this problem will not occur after manually setting the Redis configuration for NextCloud. I think it's a bug
I don't want to use root to run nextcloud, so I've found out if
' - REDIS_HOST=redis configured
### This is my docker-compose.yml ` version: '2'
volumes: nextcloud: redis: services: redis: image: redis networks:
my_net
app: image: nextcloud user: "1000:1000" restart: always ports:
- REDIS_HOST_PASSWORD=
networks: my_net: external: true`
**When I run, it shows** redis | 1:M 17 May 2024 06:39:56.106 * Ready to accept connections tcp app-1 | Configuring Redis as session handler app-1 | /entrypoint.sh: 111: cannot create /usr/local/etc/php/conf.d/redis-session.ini: Permission denied app-1 exited with code 0 app-1 exited with code 2 app-1 | Configuring Redis as session handler app-1 | /entrypoint.sh: 111: cannot create /usr/local/etc/php/conf.d/redis-session.ini: Permission denied app-1 | Configuring Redis as session handler app-1 | /entrypoint.sh: 111: cannot create /usr/local/etc/php/conf.d/redis-session.ini: Permission denied app-1 | Configuring Redis as session handler