Move OnlyOffice to Nextcloud area.

This commit is contained in:
2023-08-20 16:56:24 -07:00
parent 2d21ed7ae4
commit 73a9aa1362
2 changed files with 13 additions and 12 deletions

View File

@@ -4,12 +4,14 @@
# Changelog: # Changelog:
# 2023-07-16 Change from mariadb:10.5 to 10.6. # 2023-07-16 Change from mariadb:10.5 to 10.6.
# 2023-07-25 Add Onlyoffice. (https://github.com/ONLYOFFICE/docker-onlyoffice-nextcloud)
# 2023-08-20 Add Redis. (https://markontech.com/docker/setup-nextcloud-with-redis-using-docker/) # 2023-08-20 Add Redis. (https://markontech.com/docker/setup-nextcloud-with-redis-using-docker/)
version: '3' version: '3'
services: services:
db: db:
container_name: nextcloud-db
image: mariadb:10.6 image: mariadb:10.6
restart: always restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
@@ -21,18 +23,29 @@ services:
- MYSQL_USER=nc - MYSQL_USER=nc
- MYSQL_PASSWORD=changeme - MYSQL_PASSWORD=changeme
oo:
container_name: nextcloud-oo
image: onlyoffice/documentserver
restart: always
ports:
- 8000:80
- 4443:443
redis: redis:
container_name: nextcloud-redis
image: redis image: redis
restart: always restart: always
command: redis-server --requirepass someredispassword command: redis-server --requirepass someredispassword
app: app:
container_name: nextcloud-app
image: nextcloud image: nextcloud
restart: always restart: always
ports: ports:
- 8080:80 - 8080:80
links: links:
- db - db
- oo
- redis - redis
volumes: volumes:
- ../../Volumes/Nextcloud/nextcloud:/var/www/html - ../../Volumes/Nextcloud/nextcloud:/var/www/html

View File

@@ -1,12 +0,0 @@
# 2023-07-25
# OnlyOffice server for Nextcloud.
version: '3'
services:
app:
image: onlyoffice/documentserver
restart: always
ports:
- 8000:80
- 4443:443