Update owncloud version to 9.1.2 (#27)

This commit is contained in:
Carlos Rodríguez
2016-11-17 13:45:05 +01:00
committed by GitHub
parent bd3ba06155
commit 2ac9a70c23
4 changed files with 15 additions and 17 deletions

View File

@@ -3,7 +3,7 @@ FROM gcr.io/stacksmith-images/minideb:jessie-r2
MAINTAINER Bitnami <containers@bitnami.com>
ENV BITNAMI_APP_NAME=owncloud \
BITNAMI_IMAGE_VERSION=9.1.1-r2 \
BITNAMI_IMAGE_VERSION=9.1.2-r0 \
PATH=/opt/bitnami/php/bin:/opt/bitnami/mysql/bin/:$PATH
# Additional modules required
@@ -13,7 +13,7 @@ RUN bitnami-pkg install mysql-client-10.1.19-0 --checksum fdbc292bedabeaf0148d66
RUN bitnami-pkg install libphp-5.6.27-0 --checksum f9039cc69834334187c9b55fc20bf3be818cd87a2088ced2732fead1d1bfb2d6
# Install owncloud
RUN bitnami-pkg unpack owncloud-9.1.1-1 --checksum aa38edb9d9901bd19104d2e163c393e7ac6ff7a7ad8f024e7d7044ad08e272b0
RUN bitnami-pkg unpack owncloud-9.1.2-0 --checksum 922715187ce351309eff6ad62b289e0b4d17b10557cdd0d73730a9552842e63c
COPY rootfs /

View File

@@ -19,14 +19,14 @@ Running ownCloud with a database server is the recommended way. You can either u
This is the recommended way to run ownCloud. You can use the following docker compose template:
```
```yaml
version: '2'
services:
mariadb:
image: 'bitnami/mariadb:latest'
volumes:
- 'mariadb_data:/bitnami/mariadb'
application:
owncloud:
image: 'bitnami/owncloud:latest'
ports:
- '80:80'
@@ -90,7 +90,7 @@ If you remove every container all your data will be lost, and the next time you
### Mount persistent folders in the host using docker-compose
This requires a sightly modification from the template previously shown:
```
```yaml
version: '2'
services:
@@ -98,7 +98,7 @@ services:
image: 'bitnami/mariadb:latest'
volumes:
- '/path/to/your/local/mariadb_data:/bitnami/mariadb'
application:
owncloud:
image: 'bitnami/owncloud:latest'
ports:
- '80:80'
@@ -147,28 +147,28 @@ Bitnami provides up-to-date versions of MariaDB and OwnCloud, including security
2. Stop your container
* For docker-compose: `$ docker-compose stop owncloud`
* For manual execution: `$ docker stop owncloud`
* For docker-compose: `$ docker-compose stop owncloud`
* For manual execution: `$ docker stop owncloud`
3. (For non-compose execution only) Create a [backup](#backing-up-your-application) if you have not mounted the owncloud folder in the host.
4. Remove the currently running container
* For docker-compose: `$ docker-compose rm -v owncloud`
* For manual execution: `$ docker rm -v owncloud`
* For docker-compose: `$ docker-compose rm -v owncloud`
* For manual execution: `$ docker rm -v owncloud`
5. Run the new image
* For docker-compose: `$ docker-compose start owncloud`
* For manual execution ([mount](#mount-persistent-folders-manually) the directories if needed): `docker run --name owncloud bitnami/owncloud:latest`
* For docker-compose: `$ docker-compose start owncloud`
* For manual execution ([mount](#mount-persistent-folders-manually) the directories if needed): `docker run --name owncloud bitnami/owncloud:latest`
# Configuration
## Environment variables
When you start the owncloud image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the docker run command line. If you want to add a new environment variable:
* For docker-compose add the variable name and value under the application section:
```
application:
```yaml
owncloud:
image: bitnami/owncloud:latest
ports:
- 80:80

View File

@@ -4,7 +4,7 @@ services:
image: 'bitnami/mariadb:latest'
volumes:
- 'mariadb_data:/bitnami/mariadb'
application:
owncloud:
image: 'bitnami/owncloud:latest'
ports:
- '80:80'

View File

@@ -24,8 +24,6 @@ export MARIADB_USER=${MARIADB_USER:-"root"}
export MARIADB_HOST=${MARIADB_HOST:-"mariadb"}
export MARIADB_PORT=${MARIADB_PORT:-"3306"}
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
for module in apache php owncloud; do
initialize $module