mirror of
https://github.com/abhilesh/self-hosted-docker-setups.git
synced 2026-06-28 06:46:23 +00:00
Update nextcloud docker-compose.yml to v3
This commit is contained in:
@@ -31,6 +31,7 @@ services:
|
||||
- 8088:80 # Serving on port 8088, change if you'd like a different port
|
||||
volumes:
|
||||
- /mnt/nfs-share/Nextcloud:/var/www/html # Change this to where you would like Nextcloud data (preferably external storage)
|
||||
hostname:'cloud.example.com' # Change this (for compose v3)
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
- MYSQL_PASSWORD=<password> # Change this (same as defined in `db`)
|
||||
@@ -40,7 +41,7 @@ services:
|
||||
#- REDIS_HOST_PASSWORD=<secure-password>
|
||||
- NEXTCLOUD_ADMIN_USER=ncadmin # Change this
|
||||
- NEXTCLOUD_ADMIN_PASSWORD=<admin-password> # Change this
|
||||
- NEXTCLOUD_HOSTNAME=cloud.example.com # Change this
|
||||
#- NEXTCLOUD_HOSTNAME=cloud.example.com # Change this (defined as a separate variable in v3)
|
||||
- SMTP_HOST=smtp.gmail.com # Using gmail's smtp server for emails
|
||||
- SMTP_SECURE=tls
|
||||
- SMTP_PORT=587
|
||||
|
||||
Reference in New Issue
Block a user