Move OnlyOffice to be its own configuration again. Add sourcing of DNS settings so that local traffic routes correctly.

This commit is contained in:
2023-08-21 12:01:24 -07:00
parent ea2f3953ee
commit 0451897610
2 changed files with 25 additions and 10 deletions

View File

@@ -0,0 +1,20 @@
# 2023-07-25
# OnlyOffice server, primarily used for Nextcloud.
version: '3'
services:
app:
container_name: oo-app
image: onlyoffice/documentserver
restart: always
ports:
- 8000:80
- 4443:443
environment:
- JWT_SECRET=abc123
env_file:
- ../../dns.env
dns:
- $DNS1
- $DNS2