Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cloudlinux/kd_gallery3

a docker for gallery3
https://github.com/cloudlinux/kd_gallery3

Last synced: 29 days ago
JSON representation

a docker for gallery3

Awesome Lists containing this project

README

        

# 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
```