This commit is contained in:
root 2023-04-06 15:20:20 +02:00
commit a066e08cb5
2 changed files with 52 additions and 0 deletions

13
.env.sample Normal file
View File

@ -0,0 +1,13 @@
DB_TYPE=
DB_HOST=
DB_PORT=
DB_NAME=
DB_USER=
AMQP_URI=
JWT_ENABLED=
JWT_SECRET=
POSTGRES_DB=
POSTGRES_USER=
POSTGRES_HOST_AUTH_METHOD=

39
docker-compose.yml Normal file
View File

@ -0,0 +1,39 @@
version: '2'
services:
onlyoffice-documentserver:
image: onlyoffice/documentserver:7.2
container_name: onlyoffice-documentserver
depends_on:
- onlyoffice-postgresql
- onlyoffice-rabbitmq
env_file: .env
ports:
- '8147:80'
- '4447:443'
#stdin_open: true
restart: always
stop_grace_period: 60s
volumes:
- ./data/data:/var/www/onlyoffice/Data
- ./data/log:/var/log/onlyoffice
onlyoffice-rabbitmq:
container_name: onlyoffice-rabbitmq
image: rabbitmq
restart: always
onlyoffice-postgresql:
container_name: onlyoffice-postgresql
image: postgres:9.5
env_file: .env
restart: always
volumes:
- ./postgree:/var/lib/postgresql
volumes:
postgresql_data:
networks:
default:
external:
name: my-network