Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.
Please keep in mind:
Support response
Support checklist
CHEVERETO_SERVICING=server what you cause is that the Chevereto application is served in the old "root" way of doing things, including application filesystem upgrades. That enables you to enter the key, store it, and upgrade to the paid application files./var/www/html/.docker run -d \
--name chevereto \
-p 80:80 \
-e CHEVERETO_DB_HOST=database \
-e CHEVERETO_DB_USER=chevereto \
-e CHEVERETO_DB_PASS=user_database_password \
-e CHEVERETO_DB_PORT=3306 \
-e CHEVERETO_DB_NAME=chevereto \
-e CHEVERETO_ASSET_STORAGE_TYPE=local \
-e CHEVERETO_ASSET_STORAGE_URL=/images/_assets/ \
-e CHEVERETO_ASSET_STORAGE_BUCKET=/var/www/html/images/_assets/ \
-e CHEVERETO_MAX_POST_SIZE=2G \
-e CHEVERETO_MAX_UPLOAD_SIZE=2G \
-e CHEVERETO_SERVICING=server \
-v /var/www/html/images/ \
-v /var/www/html/ \
ghcr.io/chevereto/chevereto:latest
docker-compose:services:
database:
image: mariadb:jammy
networks:
- chevereto
volumes:
- database:/var/lib/mysql
restart: always
healthcheck:
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
interval: 10s
timeout: 5s
retries: 3
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: chevereto
MYSQL_USER: chevereto
MYSQL_PASSWORD: user_database_password
php:
image: chevereto/chevereto:latest # tweak with target image to run
networks:
- chevereto
volumes:
- storage:/var/www/html/images/
# - app:/var/www/html/ # uncomment when using CHEVERETO_SERVICING=server
restart: always
depends_on:
database:
condition: service_healthy
expose:
- 80
environment:
CHEVERETO_DB_HOST: database
CHEVERETO_DB_USER: chevereto
CHEVERETO_DB_PASS: user_database_password
CHEVERETO_DB_PORT: 3306
CHEVERETO_DB_NAME: chevereto
CHEVERETO_HOSTNAME: hostname.com
CHEVERETO_HOSTNAME_PATH: /
CHEVERETO_HTTPS: 0
CHEVERETO_ASSET_STORAGE_TYPE: local
CHEVERETO_ASSET_STORAGE_URL: http://hostname.com/images/_assets/ #hostname-aware URL
CHEVERETO_ASSET_STORAGE_BUCKET: /var/www/html/images/_assets/
CHEVERETO_MAX_POST_SIZE: 2G
CHEVERETO_MAX_UPLOAD_SIZE: 2G
# CHEVERETO_SERVICING: server # uncomment to enable application filesystem upgrades
volumes:
database:
storage:
# app: # uncomment when using CHEVERETO_SERVICING=server
networks:
chevereto:


chown www-data: /var/www/html/ -RIn your pure docker command or compose file you can easily add the container runtime user.Need a way to set PUID and PGID from the docker environment variable.
user: my_user
new_uid with your new UID and username with the user's username sudo usermod -u new_uid usernamenew_gid with your new GID and group with the user's groupname sudo` groupmod -g new_uid groupname`old_uid_of_user_X with the old UID of the user_X# Also replace user_X with the given username find / -user old_uid_of_user_X -exec chown -h user_X {} \;🤨SMTP needs root
Can you share the docker file used to create the container?