Last active
April 24, 2025 12:29
-
-
Save RANUX/f4a186251ebdf3f574bb6a4f03adcd41 to your computer and use it in GitHub Desktop.
onlyoffice document server docker-compose.yml file for arm64 (Macbook pro)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
networks: | |
onlyoffice: | |
driver: bridge | |
services: | |
onlyoffice-document-server: | |
image: onlyoffice/documentserver:8.2 | |
platform: linux/arm64 | |
container_name: onlyoffice-document-server | |
stdin_open: true | |
tty: true | |
restart: always | |
environment: | |
- JWT_ENABLED=true | |
- JWT_SECRET=jwt_secret | |
- JWT_HEADER=AuthorizationJwt | |
- JWT_IN_BODY=true | |
volumes: | |
- document_data:/var/www/onlyoffice/Data | |
- document_log:/var/log/onlyoffice | |
- document_forgotten:/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten | |
- ./certs:/var/www/onlyoffice/Data/certs:ro | |
- ./config/supervisor/ds-example.conf:/etc/supervisor/conf.d/ds-example.conf | |
networks: | |
- onlyoffice | |
ports: | |
- '8000:8000' | |
- '80:80' | |
- '443:443' | |
- '3000:3000' | |
volumes: | |
document_data: | |
document_log: | |
document_forgotten: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to generate certs:
mkdir -p ./certs openssl genrsa -out ./certs/onlyoffice.key 2048 openssl req -new -key ./certs/onlyoffice.key -out ./certs/onlyoffice.csr -subj "/C=US/ST=State/L=City/O=Organization/CN=localhost" openssl x509 -req -days 365 -in ./certs/onlyoffice.csr -signkey ./certs/onlyoffice.key -out ./certs/onlyoffice.crt openssl dhparam -out ./certs/dhparam.pem 2048 chmod 400 ./certs/onlyoffice.key
How to run examples
Copy past config