Files
Docker-Chevereto/README.md
Rodolfo Berrios d381cddad4 pure docker wip
2022-12-21 09:28:22 -03:00

3.0 KiB

Docker

🔔 Subscribe to don't miss any update regarding Chevereto.

Chevereto

Community

Dockerfile driven template project for building and running container images for Chevereto V4 projects.

Warning

: Do not publish Docker images to a public registry when using a paid Chevereto edition as its commercial license restricts re-distribution rights.

Features

  • One-click commands using make
  • Built-in nginx-proxy for multiple hostname

Requirements

  • Chevereto V4 license key (for paid edition)
  • Server with
  • Hostname pointing to server

Pure Docker

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/ \
  -v /var/www/html/images/ \
  ghcr.io/chevereto/chevereto

Quick setup

git clone https://github.com/chevereto/docker.git
  • Get Docker in your Ubuntu server
make install-docker

You may also check Docker for Desktop and Docker Engine (servers) instructions

  • Create Cron (see SETUP)
make cron
make proxy EMAIL_HTTPS=mail@yourdomain.tld

Build Chevereto image

💡 Omit this step when using free edition as the image is available at GHCR.

  • Create Chevereto image (see SETUP)
make image

Spawn Chevereto instance

make namespace NAMESPACE=yourproject HOSTNAME=yourdomain.tld
  • Run the container

💡 When using free edition pass EDITION=free.

make up-d NAMESPACE=yourproject

To create more instances repeat the steps (setup namespace, run container).

Documentation