Public Repository

Last pushed: 6 months ago
Short Description
Simplest way to explain this repository is to just paste docker-compose.yml
Full Description
wp:
  image: dzidicantonions/centos6-wp:latest
  container_name: wp
  hostname: localhost
  #restart: always
  ports:
    - 80:80
    - 443:443
  volumes:
      #take care of shared directories
    - ./shared/www:/var/www/
    - ./shared/mysql:/var/lib/mysql/
    - ./shared/nginx/logs:/var/log/nginx/
    - ./shared/nginx/sites-enabled:/etc/nginx/sites-enabled/
    #if you need more nginx configuration, simply share the whole setup from your pc
  environment:
    #default db pass is root
    - DB_ROOT_PASSWORD=some-db-pass
    #this pma link will be available in default nginx access.
    - PMA_LINK=db-admin
  #you should know how to execute command inside running docker container => `docker exec -it command param`
  #create new wordpress site up to web installation using `wp domain_name` like => `wp demo.test-site.com`
  #enable phpMyAdmin for specific domain by using `pma_on domain_name` like `pma_on demo.test-site.com`
  #disable phpMyAdmin for specific domain by using `pma_off domain_name` like `pma_off demo.test-site.com`
  #phpMyAdmin will be available at domain.com/pma/
Docker Pull Command
Owner
dzidicantonions