Skip to content

Nginx Docker container configured for use with Wordpress on php-fpm

License

Notifications You must be signed in to change notification settings

milanboers/wordpress-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wordpress-nginx

Nginx container configured for use with Wordpress on php-fpm

docker pull milanb/wordpress-nginx

Docker Hub milanb/wordpress-nginx

Can be used in conjunction with wordpress-sqlite (Docker Hub milanb/wordpress-sqlite) 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

About

Nginx Docker container configured for use with Wordpress on php-fpm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published