Giter Club home page Giter Club logo

docker's Introduction

Docker Vvveb CMS Official Image

https://github.com/Vvveb/docker

https://github.com/givanz/Vvveb

What is Vvveb?

Powerful and easy to use CMS to build websites, blogs or ecommerce stores.

logo

How to use this image

With SQLite

docker run -p 8080:80 vvveb/vvvebcms:php8.3-fpm-alpine

With MySQL

docker run --name some-vvveb --link some-mysql:mysql -d vvveb/vvvebcms:php8.3-fpm-alpine

With PosgreSQL

docker run --name some-vvveb --link some-pgsql:pgsql -d vvveb/vvvebcms:php8.3-fpm-alpine

Then, access it via http://localhost:8080 or http://host-ip:8080 in a browser.

The following environment variables are also honored for configuring your Vvveb CMS instance:

  • -e DB_ENGINE=... (valid values are mysqli, sqlite, pgsql defaults to mysqli )
  • -e DB_HOST=... (defaults to the IP and port of the linked mysql container, eg: db)
  • -e DB_USER=... (defaults to "root")
  • -e DB_PASS=... (defaults to the value of the MYSQL_ROOT_PASSWORD environment variable from the linked mysql container)
  • -e DB_NAME=... (defaults to "vvveb")
  • -e DB_PORT=... (defaults to 3306)

The DB_NAME database must already exist on the given MySQL server. Check out the official mysql image for more info.

If you'd like to use an external database instead of a linked mysql container, specify the hostname and port with DB_HOST:DB_PORT along with the password in DB_PASSWORD and the username in DB_USER:

docker run --name vvveb \
  -e DB_HOST=10.1.2.3 \
  -e DB_PORT=10432 \
  -e DB_USER=... \
  -e DB_PASSWORD=... \
  -d vvveb/vvvebcms:php8.3-fpm-alpine

Example docker-compose.yml for Vvveb:

services:
  db:
    image: mysql:latest
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: vvveb
      MYSQL_DATABASE: vvveb
      MYSQL_USER: vvveb
      MYSQL_PASSWORD: vvveb
    volumes:
      - db:/var/lib/mysql
    networks:
      - internal

  php:
    image: vvveb/vvvebcms:php8.3-fpm-alpine
    environment:
      DB_HOST: db
      DB_DATABASE: vvveb
      DB_USER: vvveb
      DB_PASSWORD: vvveb
      DB_ENGINE: mysqli #sqlite,pgsql
    volumes:
      - vvveb-volume:/var/www/html
      - db:/var/lib/mysql
    ports:
      - "8080:80"
    links:
      - db:mysql
    depends_on:
      - db
    networks:
      - internal


volumes:
  vvveb-volume:
  db:

networks:
  internal:
    driver: bridge

Run docker-compose up and visit http://localhost:8080 or http://host-ip:8080.

License

View license information for the software contained in this image.

User Feedback

Documentation

Issues

Forum

Contributing

Building images from Dockerfile

PHP 8.3 Fpm Alpine

cd latest/php8.3/fpm-alpine
sudo docker buildx build --push -t vvveb/vvvebcms:php8.3-fpm-alpine \
	--platform=linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/386,linux/arm64,linux/arm/v8,linux/arm/v7,linux/arm/v6 .

PHP 8.3 Apache

cd latest/php8.3/apache
sudo docker buildx build --push -t vvveb/vvvebcms:php8.3-apache \
	--platform=linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/386,linux/arm64,linux/arm/v8,linux/arm/v7,linux/arm/v6 .

docker's People

Contributors

givanz avatar

Watchers

 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.