Update docker-compose.yml

This commit is contained in:
Tomas Pizarro
2018-03-16 16:47:54 +01:00
committed by GitHub
parent 7630f095c5
commit 507e083b69

View File

@@ -3,11 +3,23 @@ services:
mariadb:
image: 'bitnami/mariadb:latest'
environment:
- MARIADB_USER=bn_owncloud
- MARIADB_DATABASE=bitnami_owncloud
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- 'mariadb_data:/bitnami'
owncloud:
image: 'bitnami/owncloud:latest'
environment:
- MARIADB_HOST=mariadb
- MARIADB_PORT_NUMBER=3306
- OWNCLOUD_DATABASE_USER=bn_owncloud
- OWNCLOUD_DATABASE_NAME=bitnami_owncloud
- ALLOW_EMPTY_PASSWORD=yes
# 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
labels:
kompose.service.type: nodeport
ports:
@@ -17,11 +29,6 @@ services:
- 'owncloud_data:/bitnami'
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:
driver: local