This is OnlyOffice Documentserver for both amd64 and arm64 devices
9.0K
amd64 and arm64 natively!Dockerfile and docker-compose.yml files with all the needed files as wellversion: '2'
services:
onlyoffice-documentserver:
image: jiriks74/onlyoffice-documentserver:latest
container_name: onlyoffice-documentserver
depends_on:
- onlyoffice-postgresql
- onlyoffice-rabbitmq
environment:
- DB_TYPE=postgres
- DB_HOST=onlyoffice-postgresql
- DB_PORT=5432
- DB_NAME=onlyoffice
- DB_USER=onlyoffice
- AMQP_URI=amqp://guest:guest@onlyoffice-rabbitmq
# Uncomment strings below to enable the JSON Web Token validation.
#- JWT_ENABLED=true
#- JWT_SECRET=secret
#- JWT_HEADER=AuthorizationJwt
#- JWT_IN_BODY=true
# Uncomment the line below to set larger file limits (about 1GB)
#- LARGER_FILE_LIMITS=true
ports:
- '80:80'
- '443:443'
stdin_open: true
restart: always
stop_grace_period: 120s
volumes:
# Uncomment the line below to get access to the slide themes directory.
# To use the themes, copy them to the slideThemes directory and run `docker exec -it <container-name> /usr/bin/documentserver-generate-allfonts.sh`
#- ./slideThemes:/var/www/onlyoffice/documentserver/sdkjs/slide/themes/src
- /var/www/onlyoffice/Data
- /var/log/onlyoffice
- /var/lib/onlyoffice/documentserver/App_Data/cache/files
- /var/www/onlyoffice/documentserver-example/public/files
- /usr/share/fonts
onlyoffice-rabbitmq:
container_name: onlyoffice-rabbitmq
image: rabbitmq
restart: always
expose:
- '5672'
onlyoffice-postgresql:
container_name: onlyoffice-postgresql
image: postgres:9.5
environment:
- POSTGRES_DB=onlyoffice
- POSTGRES_USER=onlyoffice
- POSTGRES_HOST_AUTH_METHOD=trust
restart: always
expose:
- '5432'
volumes:
- postgresql_data:/var/lib/postgresql
volumes:
postgresql_data:
Secret keywith NextcloudJWT in docker-composeJWT_SECRET=yourSecretconfig.php (by defauld /var/www/nextcloud/config/config.php));) and paste in your secret (3rd last line) 'onlyoffice' =>
array (
"jwt_secret" => "yourSecret",
"jwt_header" => "AuthorizationJwt"
)
- LARGER_FILE_LIMITS=true line in docker-compose.yml- ./slideThemes:/var/www/onlyoffice/documentserver/sdkjs/slide/themes/src lineslideThemes directorydocker exec -it <container-name> /usr/bin/documentserver-generate-allfonts.sh
latest - the latest version of the Documentserver - amd64 version7.0.1-37) - these tags are equal to the Documentserver version of the onlyoffice-documentserver debian package used in the imagecd /home/$USER/)git clone https://github.com/jiriks74/Docker-DocumentServer.git && cd Docker-DocumentServer
arm64, when on pc result will be amd64)docker-compose build
qemu) - you have to push to DockerHubdocker buildx build --push --platform linux/arm64,linux/amd64,linux/386 .
docker-compose up -d
docker-compose down
docker rmi $(docker images -f "dangling=true" -q)
arm64, when on pc result will be amd64)docker-compose build
qemu) - you have to push to DockerHubdocker buildx build --push --platform linux/arm64,linux/amd64,linux/386 .
docker-compose up -d
Content type
Image
Digest
sha256:006a9baca…
Size
1.2 GB
Last updated
about 2 years ago
docker pull jiriks74/onlyoffice-documentserver