Vvveb / docker

Docker Image packaging for Vvveb CMS
https://hub.docker.com/r/vvveb/vvvebcms
MIT License
0 stars 0 forks source link
docker docker-image docker-images docker-registry dockerfile dockerfiles vvveb vvveb-cms

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

Live Demo / Admin Demo / Page Builder Demo

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:

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

Via docker-compose

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/vvveb/
      - 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 .