This repository was archived by the owner on Nov 25, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN chmod +x /etc/pre_conf_pydio.sh
29
29
RUN chmod +x /etc/configure_php_modules.sh
30
30
31
31
# generate certificate for server
32
- RUN /etc/gencert.sh
32
+ # RUN /etc/gencert.sh
33
33
34
34
# install some php modules
35
35
RUN /etc/configure_php_modules.sh
@@ -46,8 +46,10 @@ RUN /etc/pre_conf_pydio.sh
46
46
# install supervisord
47
47
RUN yum install -y python-pip && pip install "pip>=1.4,<1.5" --upgrade
48
48
RUN pip install supervisor
49
- VOLUME ["/var/lib/pydio" ]
49
+ VOLUME /var/lib/pydio
50
+ VOLUME /var/lib/mysql
51
+ VOLUME /etc/pki/tls
52
+ VOLUME /var/cache/pydio
50
53
51
54
EXPOSE 443
52
55
CMD ["supervisord" , "-n" ]
53
-
Original file line number Diff line number Diff line change 1
1
# generate certificate (selfsign) for apache
2
+ if [ ! -f /etc/pki/tls/private/pydio.pem ]
3
+ then
2
4
/bin/sh /etc/gencert
3
5
# override pydio.conf when we use SSL
4
6
sed -i " s/localhost.crt/pydio.csr/g" /etc/httpd/conf.d/ssl.conf
5
7
sed -i " s/localhost.key/pydio.pem/g" /etc/httpd/conf.d/ssl.conf
8
+
9
+ fi
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ serverurl=http://127.0.0.1:9001
20
20
[program:sshd]
21
21
command = /usr/sbin/sshd -D
22
22
23
+ [program:generateCert]
24
+ command=/bin/sh /etc/gencert.sh
25
+
23
26
[program:httpd]
24
27
;command=/usr/sbin/httpd -c "ErrorLog /dev/stdout" -DFOREGROUND
25
28
redirect_stderr=true
You can’t perform that action at this time.
0 commit comments