mirror of
https://github.com/bitnami/containers.git
synced 2026-03-06 15:09:19 +08:00
Merge pull request #26 from bitnami/update_owncloud_revision
New ownCloud revision 9.1.1-r2
This commit is contained in:
@@ -3,17 +3,17 @@ FROM gcr.io/stacksmith-images/minideb:jessie-r2
|
||||
MAINTAINER Bitnami <containers@bitnami.com>
|
||||
|
||||
ENV BITNAMI_APP_NAME=owncloud \
|
||||
BITNAMI_IMAGE_VERSION=9.1.1-r1 \
|
||||
BITNAMI_IMAGE_VERSION=9.1.1-r2 \
|
||||
PATH=/opt/bitnami/php/bin:/opt/bitnami/mysql/bin/:$PATH
|
||||
|
||||
# Additional modules required
|
||||
RUN bitnami-pkg unpack php-5.6.26-1 --checksum b7a72ae78f9b19352bd400dfe027465c88a8643c0e5d9753f8d12f4ebae542a2
|
||||
RUN bitnami-pkg unpack apache-2.4.23-7 --checksum bcbe93875f4017ed762caf73774a35b449e22c441e6b3f619f386294ba0a5958
|
||||
RUN bitnami-pkg install mysql-client-10.1.13-4 --checksum 14b45c91dd78b37f0f2366712cbe9bfdf2cb674769435611955191a65dbf4976
|
||||
RUN bitnami-pkg install libphp-5.6.26-1 --checksum 327d070f57727f2ed4f0246d0e3f61c5a94f6366d21a7e7e4572fe6c9c8e8c2d
|
||||
RUN bitnami-pkg unpack php-5.6.28-0 --checksum 703ee1e4aa2fb1d3739633972aadae0e6620bd6c4d8520cea08f5ba9bfa589f2
|
||||
RUN bitnami-pkg unpack apache-2.4.23-9 --checksum 25bf5b82662874c21b0c0614c057d06b4a8ec14d8a76181053b691a9dfbf7f94
|
||||
RUN bitnami-pkg install mysql-client-10.1.19-0 --checksum fdbc292bedabeaf0148d66770b8aa0ab88012ce67b459d6ba2b46446c91bb79c
|
||||
RUN bitnami-pkg install libphp-5.6.27-0 --checksum f9039cc69834334187c9b55fc20bf3be818cd87a2088ced2732fead1d1bfb2d6
|
||||
|
||||
# Install owncloud
|
||||
RUN bitnami-pkg unpack owncloud-9.1.1-0 --checksum abf26188608e3dae5b809130ae4ccec66c6c804a4c67ad131f652de156bda1e1
|
||||
RUN bitnami-pkg unpack owncloud-9.1.1-1 --checksum aa38edb9d9901bd19104d2e163c393e7ac6ff7a7ad8f024e7d7044ad08e272b0
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
|
||||
@@ -74,7 +74,12 @@ If you want to run the application manually instead of using docker-compose, the
|
||||
|
||||
Then you can access your application at http://your-ip/
|
||||
|
||||
*Note:* If you want to access your application from a public IP or hostname you need to configure as a Trusted Domain. You can handle it adjusting the configuration of the instance by setting the environment variable "OWNCLOUD_HOST" to your public IP or hostname.
|
||||
> *Note:* If you want to access your application from a public IP or hostname you need to configure as a Trusted Domain. You can handle it adjusting the configuration of the instance by setting the environment variable "OWNCLOUD_HOST" to your public IP or hostname.
|
||||
> *Note:* If you persisted your application and you already run your container, you won't be able to configure the Trusted Domains using the previous environment variable. Trusted Domains will be set using the configuration that had been previously persisted. Therefore, you will need to connect you container and execute the command below:
|
||||
|
||||
````
|
||||
$ sudo -u daemon /opt/bitnami/php/bin/php /opt/bitnami/owncloud/occ config:system:set trusted_domains 2 --value=YOUR_HOSTNAME
|
||||
````
|
||||
|
||||
## Persisting your application
|
||||
|
||||
|
||||
@@ -16,6 +16,9 @@ services:
|
||||
depends_on:
|
||||
- mariadb
|
||||
environment:
|
||||
# Host for accessing OwnCloud
|
||||
# note: this setting will only be applied on the first run
|
||||
# ref: https://github.com/bitnami/bitnami-docker-owncloud#configuration
|
||||
- OWNCLOUD_HOST=localhost
|
||||
volumes:
|
||||
mariadb_data:
|
||||
|
||||
Reference in New Issue
Block a user