DocSpace-client/build/install/docker/ds.yml
Evgeniy Antonyuk 67287d712c
Add the ability to use an external services in OCI docker (#1598)
* Add the ability to use an external service elasticsearch

* Add the ability to use an external redis service

* Add the ability to use an external rabbitmq service

* Add the ability to use external mysql service

* Add network creation in OCI

* Implement non-use of host variable when connecting locally to containers

* Add missing environments in .yml files

* Add the ability to use external Docs service

* Fix problem of a given host as a container name

* Add the ability to configure the elasticsearch protocol

* Add comments to the .env file

* Fix migration-runner to mysql container connection error

* Implement Docs configuration via external URL

* Fix elasticsearch configuration parameter substitution
2023-08-25 15:39:26 +03:00

27 lines
605 B
YAML

version: '3.6'
services:
onlyoffice-document-server:
image: "${DOCUMENT_SERVER_IMAGE_NAME}"
container_name: ${DOCUMENT_CONTAINER_NAME}
# Strings below enable the JSON Web Token validation.
environment:
- JWT_ENABLED=true
- JWT_SECRET=${DOCUMENT_SERVER_JWT_SECRET}
- JWT_HEADER=${DOCUMENT_SERVER_JWT_HEADER}
- JWT_IN_BODY=true
volumes:
- app_data:/var/www/onlyoffice/Data
expose:
- '80'
stdin_open: true
restart: always
stop_grace_period: 60s
networks:
default:
name: ${NETWORK_NAME}
external: true
volumes:
app_data: