Finish OnlyOffice Setup (#13)
* Add newlines in output. * Remove fancy DNS attempts to get NC and OO to talk. Just had to give NC the local IP through the Advanced settings. Yay!!
This commit is contained in:
parent
f205dbfcd5
commit
fbad19dc51
@ -5,6 +5,12 @@
|
|||||||
# 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-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/)
|
||||||
|
# 2023-08-21 Got NC to work with OO after specifying the Advanced parameters!
|
||||||
|
# OO Address: https://FQDN-For-Reverse-Proxied-OO-Server
|
||||||
|
# OO Secret: Contents-Of-$JWT_SECRET
|
||||||
|
# OO Header:
|
||||||
|
# OO Internal Address: http://docker-server-ip:8000
|
||||||
|
# NC Internal Address: http://docker-server-ip:8080
|
||||||
|
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
@ -47,5 +53,3 @@ services:
|
|||||||
- PHP_UPLOAD_LIMIT=$PHP_UPLOAD_LIMIT
|
- PHP_UPLOAD_LIMIT=$PHP_UPLOAD_LIMIT
|
||||||
- REDIS_HOST=$REDIS_HOST
|
- REDIS_HOST=$REDIS_HOST
|
||||||
- REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD
|
- REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD
|
||||||
#dns:
|
|
||||||
# - $DNS
|
|
||||||
|
@ -16,14 +16,3 @@ MYSQL_PASSWORD=changeme
|
|||||||
|
|
||||||
REDIS_HOST=redis
|
REDIS_HOST=redis
|
||||||
REDIS_HOST_PASSWORD=someredispassword
|
REDIS_HOST_PASSWORD=someredispassword
|
||||||
|
|
||||||
## Other ##
|
|
||||||
|
|
||||||
# This has not helped, not sure why containers are not uing hosts's DNS, or why
|
|
||||||
# the requests are failing. Needs further research/testing but works on Ubuntu
|
|
||||||
# laptop, just not Debian VM. VM can use the DNS server properly though.
|
|
||||||
### # If you have both Nextcloud and OnlyOffice on the same internal network you
|
|
||||||
### # will likely want to set this to an internal DNS server. Some routers will
|
|
||||||
### # drop traffic if an internal IP tries to communicate with the WAN IP, causing
|
|
||||||
### # the curl to OnlyOffice's /healthcheck to fail. Do the same in both configs.
|
|
||||||
### DNS=10.110.1.53
|
|
||||||
|
@ -13,5 +13,3 @@ services:
|
|||||||
- 4443:443
|
- 4443:443
|
||||||
environment:
|
environment:
|
||||||
- JWT_SECRET=$JWT_SECRET
|
- JWT_SECRET=$JWT_SECRET
|
||||||
#dns:
|
|
||||||
# - $DNS
|
|
||||||
|
@ -4,14 +4,3 @@
|
|||||||
|
|
||||||
# Secret
|
# Secret
|
||||||
JWT_SECRET=abc123
|
JWT_SECRET=abc123
|
||||||
|
|
||||||
## Other ##
|
|
||||||
|
|
||||||
# This has not helped, not sure why containers are not uing hosts's DNS, or why
|
|
||||||
# the requests are failing. Needs further research/testing but works on Ubuntu
|
|
||||||
# laptop, just not Debian VM. VM can use the DNS server properly though.
|
|
||||||
### # If you have both Nextcloud and OnlyOffice on the same internal network you
|
|
||||||
### # will likely want to set this to an internal DNS server. Some routers will
|
|
||||||
### # drop traffic if an internal IP tries to communicate with the WAN IP, causing
|
|
||||||
### # the curl to OnlyOffice's /healthcheck to fail. Do the same in both configs.
|
|
||||||
### DNS=10.110.1.53
|
|
||||||
|
@ -16,9 +16,12 @@ fi
|
|||||||
|
|
||||||
## Main ##
|
## Main ##
|
||||||
|
|
||||||
|
echo "Starting all containers."
|
||||||
|
|
||||||
cd $DOCKER_HOME/Config
|
cd $DOCKER_HOME/Config
|
||||||
for dir in `ls`; do
|
for dir in `ls`; do
|
||||||
[ -d $dir ] && cd $dir || continue
|
[ -d $dir ] && cd $dir || continue
|
||||||
|
echo ""
|
||||||
pwd
|
pwd
|
||||||
[ -e Dockerfile ] && docker compose build
|
[ -e Dockerfile ] && docker compose build
|
||||||
[ -e docker-compose.yml ] && docker compose up -d
|
[ -e docker-compose.yml ] && docker compose up -d
|
||||||
|
@ -16,9 +16,12 @@ fi
|
|||||||
|
|
||||||
## Main ##
|
## Main ##
|
||||||
|
|
||||||
|
echo "Stopping all containers."
|
||||||
|
|
||||||
cd $DOCKER_HOME/Config
|
cd $DOCKER_HOME/Config
|
||||||
for dir in `ls`; do
|
for dir in `ls`; do
|
||||||
[ -d $dir ] && cd $dir || continue
|
[ -d $dir ] && cd $dir || continue
|
||||||
|
echo ""
|
||||||
pwd
|
pwd
|
||||||
[ -e docker-compose.yml ] && docker compose down
|
[ -e docker-compose.yml ] && docker compose down
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
x
Reference in New Issue
Block a user