GithubHelp home page GithubHelp logo

brandeo / docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chevereto/docker

0.0 0.0 0.0 2.17 MB

Template project for deploying Chevereto V4 based applications using Docker

Home Page: https://v4-docs.chevereto.com/guides/docker/

License: MIT License

Shell 39.96% Makefile 42.26% HCL 1.20% Dockerfile 16.58%

docker's Introduction

Docker

๐Ÿ”” Subscribe to don't miss any update regarding Chevereto.

Chevereto

Community

Dockerfile driven template project for building images and manage containers 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 instances
  • Pure Docker instructions
  • Integrated with CloudFlare API

Requirements

  • Chevereto V4 license key (for paid edition)
  • Server with
  • Hostname pointing to server
  • See CLOUDFLARE when using CloudFlare

Pure Docker

Refer to PURE-DOCKER for a complete pure Docker command reference.

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:latest

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

Build Chevereto image

๐Ÿ’ก Omit this step when using free edition as the image is available at GHCR.

  • Create Chevereto image (see SETUP)
make image

Create a NAMESPACE

make namespace NAMESPACE=yourproject HOSTNAME=yourdomain.tld

Spawn Chevereto instance

  • Run the Chevereto container using spawn:
make spawn NAMESPACE=yourproject
  • ๐Ÿ’ก When using free edition pass EDITION=free:
make spawn NAMESPACE=yourproject EDITION=free

Documentation

docker's People

Contributors

rodber avatar psyked-sktter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.