docker run -p 8080:80 vvveb/vvvebcms
Open http://localhost:8080 and the installation will start.
Choose SQLite database if you don't want to link a MySQL or Posgresql container.
Docker image vvveb/vvvebcms
Docker compose example with MySQL
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 development environment with docker
From Vvveb root folder run the following command.
sudo docker-compose up -d
Open http://localhost:8080 in your browser
To login to admin use http://localhost:8080/admin
If you want to make changes like enable auto install edit docker-compose.yaml
and uncomment the code.