cloud-computing/owncloud/docker-compose.yml
Paul Schaller f31264b3c8 woah
2023-06-21 10:29:49 +00:00

29 lines
781 B
YAML

services:
owncloud:
image: cringestudios/owncloud:latest
privileged: true
ports:
- 80:8080
volumes:
- "./fstab:/etc/fstab"
restart: always
command: ["bash", "-c", "mount -a && /usr/bin/owncloud server"]
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=${DATABASE_PASSWORD}
- OWNCLOUD_DB_HOST=mariadb${DATABASE_HOST_IP}
- OWNCLOUD_ADMIN_USERNAME=${ADMIN_USERNAME}
- OWNCLOUD_ADMIN_PASSWORD=${ADMIN_PASSWORD}
# - OWNCLOUD_MYSQL_UTF8MB4=true
# - OWNCLOUD_REDIS_ENABLED=true
# - OWNCLOUD_REDIS_HOST=redis