cloud-computing/owncloud/docker-compose.yml

29 lines
755 B
YAML
Raw Normal View History

2023-05-20 20:07:08 +02:00
services:
owncloud:
2023-06-16 13:32:36 +02:00
image: cringestudios/owncloud:latest
privileged: true
2023-05-20 20:07:08 +02:00
ports:
- 80:8080
2023-06-16 13:32:36 +02:00
2023-05-20 20:07:08 +02:00
volumes:
2023-06-16 13:32:36 +02:00
- "./fstab:/etc/fstab"
restart: always
command: ["bash", "-c", "mount -a && /usr/bin/owncloud server"]
2023-05-20 20:07:08 +02:00
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