-
Notifications
You must be signed in to change notification settings - Fork 252
Closed
Description
I am struggling with integrating onlyoffice, they are both in the same compose using portainer on my synology, please help. I do not need external access the url below for onlyoffice is my reverse proxy and is not open for external access.
services:
filebrowser:
network_mode: bridge
environment:
FILEBROWSER_CONFIG: "data/config.yaml"
FILEBROWSER_ADMIN_PASSWORD: admin
TZ: "Europe/Stockholm" # optionally set your local timezone https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
volumes:
- '/volume1:/folder' # Never mount root "/" directory to docker, always choose a sub-folder with your data.
- '/volume2/docker2/filebrowser/data:/home/filebrowser/data' # mount the data folder you created with the config file.
# (and if unraid) If you plan to run with a different user besides root or filebrowser, you will need to mount a tmp directory.
#- './tmp/:/home/filebrowser/tmp/'
ports:
- '8885:80' # the left 80 is the port **you will use** to access. The right 80 is the container port that **must match the config.yaml**
image: gtstef/filebrowser
# Optionally run as non-root filebrowser user
#user: filebrowser
restart: unless-stopped
onlyoffice:
network_mode: bridge
container_name: OnlyOffice
hostname: onlyoffice
image: onlyoffice/documentserver:latest
healthcheck:
test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/80' || exit 1
interval: 10s
timeout: 5s
retries: 3
start_period: 90s
ports:
- 8467:80
environment:
JWT_ENABLED: true
JWT_SECRET: J5HSKXAGVhoxAyjRbcJsc8zie395wss4evhVWV52omA0MHqwmZbsFgOMXXSuyvja
volumes:
- /volume2/docker2/onlyoffice/logs:/var/log/onlyoffice:rw
- /volume2/docker2/onlyoffice/data:/var/www/onlyoffice/Data:rw
- /volume2/docker2/onlyoffice/redis:/var/lib/redis:rw
- /volume2/docker2/onlyoffice/rabbitmq:/var/lib/rabbitmq:rw
- /volume2/docker2/onlyoffice/lib:/var/lib/onlyoffice:rw
- /volume2/docker2/onlyoffice/fonts:/usr/share/fonts/truetype/custom:rw
- /volume2/docker2/onlyoffice/database:/var/lib/postgresql:rw
restart: on-failure:5
config file:
server:
port: 80
baseURL: "/"
logging:
- levels: "info|warning|error"
sources:
- path: "/folder"
config:
defaultEnabled: true # add source for all users by default
userDefaults:
preview:
image: true
popup: true
video: false
office: false
highQuality: false
darkMode: true
disableSettings: false
singleClick: false
permissions:
admin: false
modify: false
share: false
api: false
auth:
adminUsername: admin
adminPassword: admin
integrations:
office:
url: "https://onlyoffice.REDACTED.dedyn.io/welcome/" # eg. a public internet IP/domain
secret: J5HSKXAGVhoxAyjRbcJsc8zie395wss4evhVWV52omA0MHqwmZbsFgOMXXSuyvja # same secret from above
I followed this guide for onlyoffice.
https://mariushosting.com/synology-install-onlyoffice-with-portainer/
and this for filebrowser
https://github.com/gtsteffaniak/filebrowser/wiki/Office-Support#adding-open-office-integration-for-docker
Metadata
Metadata
Assignees
Labels
No labels