Hi !
First of all, thanks for your work ! I started learning about Docker a few months ago and your group came up quickly as a great place to learn
I am thinking about switching to your Nextcloud
container instead of using the original one (because you allow PUID
and PGID
environment variables while the original image fails if I try user: ${PUID}:${PGID}
), but it would be very convenient if I could copy-paste the environment variables.
Would you please allow them to be used in your container ? Then I wouldn’t need to modify the config.php
each time, but instead change what I need in the docker-compose .env
file and be done with it.
For example if I want to change my domain name in 2 years, I would prefer to only change it in one place instead of going through each container and see why it’s not running.
It would also allow to have Nextcloud
all ready to use when run.
For example, with these variables I am directly taken to the welcome screen and can upload files without touching at config.php
.
- MYSQL_HOST=nextcloud-db
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=${MARIADB_MYSQL_PASSWORD}
- NEXTCLOUD_ADMIN_USER=${NEXTCLOUD_ADMIN_USER}
- NEXTCLOUD_ADMIN_PASSWORD=${NEXTCLOUD_ADMIN_PASSWORD}
- NEXTCLOUD_TRUSTED_DOMAINS=${NEXTCLOUD_DOMAIN_NAME}
- TRUSTED_PROXIES=traefik
- OVERWRITEPROTOCOL=https
- OVERWRITEHOST=${NEXTCLOUD_DOMAIN_NAME}
- REDIS_HOST=nextcloud-redis
- REDIS_HOST_PASSWORD=${NEXTCLOUD_REDIS_PASSWORD}
What do you think ?