This commit is contained in:
commit
a066e08cb5
|
@ -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=
|
||||
|
|
@ -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
|
Loading…
Reference in New Issue