26 lines
671 B
YAML
26 lines
671 B
YAML
services:
|
|
owncloud:
|
|
image: owncloud/server:latest
|
|
|
|
ports:
|
|
- 80:8080
|
|
|
|
volumes:
|
|
- "./data:/mnt/data"
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
- OWNCLOUD_DOMAIN=${OWNCLOUD_DOMAIN}
|
|
- OWNCLOUD_TRUSTED_DOMAINS=${OWNCLOUD_TRUSTED_DOMAINS}
|
|
# - OWNCLOUD_DB_TYPE=mysql
|
|
# - OWNCLOUD_DB_NAME=owncloud
|
|
# - OWNCLOUD_DB_USERNAME=owncloud
|
|
# - OWNCLOUD_DB_PASSWORD=owncloud
|
|
# - OWNCLOUD_DB_HOST=mariadb
|
|
- OWNCLOUD_ADMIN_USERNAME=${ADMIN_USERNAME}
|
|
- OWNCLOUD_ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
|
# - OWNCLOUD_MYSQL_UTF8MB4=true
|
|
# - OWNCLOUD_REDIS_ENABLED=true
|
|
# - OWNCLOUD_REDIS_HOST=redis
|