Cattr installation notes #163
Replies: 5 comments 7 replies
|
Thanks for the tutorial! I've tried using this $ docker exec -it cattr-app-1 /bin/bash
OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown |
|
Hi I followed the advanced Cattr installation guide and set it up using my VPS IP instead of a domain. The installation itself went fine, but after logging in as admin, I noticed I still can’t access many of the key features. Could you guide me through what I might be missing? Thanks, |
|
version: "3.9" services: volumes: networks: |
|
Hi everyone. |
|
This installation guide is no longer maintained. Current Cattr installation documentation is now maintained in the official Cattr User Manual: Keeping installation instructions in one place helps us avoid outdated Docker images, configuration examples, and deployment instructions being presented as current. For installation problems that are not covered by the manual, please open a new question in the Q&A category. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
For Cattr installation you need to use the official Docker image from Cattr Registry. Basically, all versions are tagged with
v...tag. So, for example, you can use:registry.git.amazingcat.net/cattr/core/app:v4.0.0-RC47.The docker image contains everything, except the database. So you'll need an external database or docker-compose to make it work.
So, for example, your docker-compose.yml file can look like this:
Cattr can work with percona/mysql/mariadb, so you're free to choose any. All env variables, that will be used for DB connection you can check in config/database.php.
Also, it will be a good option to set APP_KEY for artisan on the compose level to persist it between restarts. Pay attention to the mounted folder
/app/storage- it will store your screenshots and data, needed for persistence.On first install Cattr will create an admin with the name
Admin, loginadmin@cattr.appand passwordpassword, but you are free to change it with env variablesAPP_ADMIN_EMAIL,APP_ADMIN_PASSWORDandAPP_ADMIN_NAME.If you want to use HTTPS, you'll need to setup nginx on your server for proxying requests to Cattr container.
Your nginx site config can look like that:
That's all. You can ask any questions about Cattr installation in the thread.
All reactions