5df35430 by Adam Heath

Importing into a fresh repository.

1 parent c34624fb
1 FROM docker.brainfood.com/php5-fpm
2
3 ADD /overlay/ /
4
5 RUN /tmp/build/preseed.sh
6
7 RUN ["apt-docker", \
8 "-y", "install", "-t", "jessie-backports", "dbconfig-common", "roundcube-mysql", "roundcube-plugins", "roundcube", "php5-mysql", "apache2-", \
9 ";" ]
1 version: '2'
2
3 services:
4 build:
5 image: docker.brainfood.com/roundcube
6 build:
7 context: .
8 args:
9 - http_proxy
10 - https_proxy
11 ports:
12 - 9000
1 [roundcube]
2
3 include = /etc/php5/fpm/app-defaults.conf
4 prefix = /var/lib
5
6 ; Unix user/group of processes
7 ; Note: The user is mandatory. If the group is not set, the default user's group
8 ; will be used.
9 user = www-data
10 group = www-data
1 #!/bin/sh
2
3 set -e
4 debconf-set-selections < /tmp/build/roundcube.preseed
5 rm /tmp/build/preseed.sh /tmp/build/roundcube.preseed
6 rmdir /tmp/build 2>/dev/null || true
1 roundcube-core roundcube/mysql/method select tcp/ip
2 roundcube-core roundcube/dbconfig-reinstall boolean false
3 roundcube-core roundcube/purge boolean false
4 roundcube-core roundcube/language select en_US
5 roundcube-core roundcube/restart-webserver boolean false
6 roundcube-core roundcube/install-error select ignore
7 roundcube-core roundcube/mysql/admin-user string root
8 roundcube-core roundcube/database-type select mysql
9 roundcube-core roundcube/internal/skip-preseed boolean true
10
11
12 roundcube-core roundcube/remote/newhost string mysql-server
13 roundcube-core roundcube/remote/port string 3306
14 roundcube-core roundcube/remote/host select mysql-server
15 roundcube-core roundcube/db/app-user string roundcube
16 roundcube-core roundcube/db/dbname string roundcube
17 roundcube-core roundcube/hosts string mail