/wordpress-sqlite

Lightweight Wordpress Docker Container on Alpine with php-fpm ondemand and SQLite instead of MySQL.

Primary LanguagePHPMIT LicenseMIT

wordpress-sqlite

Lightweight Wordpress on Alpine with php-fpm ondemand and SQLite instead of MySQL.

docker pull milanb/wordpress-sqlite

Docker Hub milanb/wordpress-sqlite

Can be used in conjunction with wordpress-nginx (Docker Hub milanb/wordpress-nginx) to provide a full lightweight Wordpress solution.

Example docker-compose.yml for both:

version: '2'
services:
    wp:
        image: milanb/wordpress-sqlite
        environment:
            - WP_HOME=https://mysite.com
            - WP_SITEURL=https://mysite.com
        volumes:
            - db:/var/www/db
            - uploads:/var/www/html/wp-content/uploads
        restart: always
    http:
        image: milanb/wordpress-nginx
        links:
            - wp:wordpress
        volumes_from:
            - wp
        ports:
            - "8081:80"
volumes:
    db:
        external: true
    uploads:
        external: true