Skip to content

cloudlinux/kd_gallery3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gallery3-docker

It's a project to easyly install gallery3 with mysql thanks docker


##Installation

  • create a fig.yml:
mysqlgallery3:
  image: mysql:5.5 
  volumes:
    - /var/lib/mysql_gallery3/:/var/lib/mysql
  environment:
    - MYSQL_ROOT_PASSWORD: XXXX
    - MYSQL_DATABASE: gallery3
    - MYSQL_USER: gallery3
    - MYSQL_PASSWORD: XXXXXX
    
gallery3:
  image: mathieuruelan/gallery3
  ports:
    - "8889:80"
  links:
    - mysqlgallery3:mysql
  volumes:
    - /LOCALGALLERYPATH:/var/www/var/
    - /var/log
    - /var/log/gallery3:/var/log/apache2
  hostname: myhost
  domainname: mydomain.com

MySQL environment variables are needed only the first at the first launch. For security, edit it after and remove passwords. the host and the domain must be set otherwise, the mod_rewrite checking doesn't work.

##Launch

fig up -d

About

a docker for gallery3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages