![]() ![]() ![]() ![]() If your server does not yet support it, you can still use docker-compose or alternatively podman-compose on Red Hat-compatible Linux distributions. I suspect you will see a different path output when. When you invoke a command using sudo, it will by default use the root user shell environment which includes the PATH env variable. Note that our examples use the new docker compose command by default. The docker command you are running as your local user must be calling a different binary than what it calls when running as another user (i.e. Examples ¶ Actionĭocker compose exec photoprism photoprism show configĭocker compose exec photoprism photoprism migrations lsĭocker compose exec photoprism photoprism migrations run -fĭocker compose exec photoprism photoprism reset -yĭocker compose exec photoprism photoprism backup -a -iĭocker compose exec photoprism photoprism restore -a -iĭocker compose exec photoprism photoprism passwd ĭocker compose exec photoprism photoprism users helpĭocker compose exec photoprism photoprism users reset -yĭocker compose exec photoprism photoprism faces helpĭocker compose exec photoprism photoprism faces indexĭocker compose exec photoprism photoprism faces reset -fĭocker compose exec photoprism photoprism convertĭocker compose exec photoprism photoprism thumbs -fĭocker compose exec photoprism photoprism index -cleanupĭocker compose exec photoprism photoprism import ĭocker compose exec photoprism photoprism cp Note that in our environment docker-compose needs to be run with root permissions if it isnt, you. Compose sets the project name using the following mechanisms, in order of precedence: The -p command line flag The COMPOSEPROJECTNAME environment variable. Don't forget to update file permissions and/or ownership with the chown command when you make changes. sudo docker-compose down sudo docker-compose up. We also recommend running the PhotoPrism service as a non-root user by setting either the user service property or the PHOTOPRISM_UID environment variable in the docker-compose.yml file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |