Fixes & refactoring

This commit is contained in:
Semyon Bezrukov 2020-09-09 16:45:09 +03:00
parent 67b274d0ca
commit be26294777
3 changed files with 32 additions and 23 deletions

View file

@ -10,6 +10,7 @@ env:
- config: standalone.yml
PRODUCT_NAME: documentserver-ie
# certificates (default tls if onlyoffice not exists)
- config: certs.yml
ssl: true
@ -31,10 +32,18 @@ env:
SSL_KEY_PATH: /var/www/onlyoffice/Data/certs/mycert.key
# postgresql latest
- config: postgres.yml
POSTGRES_VERSION: latest
# postgresql 9
- config: postgres.yml
POSTGRES_VERSION: 9
# postgresql 9.5
- config: postgres.yml
# custom values
# postgresql custom values
- config: postgres.yml
DB_NAME: mydb
DB_USER: myuser
@ -42,41 +51,41 @@ env:
POSTGRES_DB: mydb
POSTGRES_USER: myuser
# postgresql 9
- config: postgres.yml
POSTGRES_VERSION:
# postgresql latest
- config: postgres.yml
POSTGRES_VERSION: latest
# deprecated variables
# postgresql deprecated variables
- config: postgres-old.yml
# mysql 5.7
- config: mysql.yml
# mysql 5
- config: mysql.yml
MYSQL_VERSION: 5
# mysql 5.7
- config: mysql.yml
# mariadb 10.5
- config: mariadb.yml
# mariadb latest
- config: mariadb.yml
MARIADB_VERSION: latest
# mariadb 10
- config: mariadb.yml
MARIADB_VERSION: 10
# mariadb 10.5
- config: mariadb.yml
# activemq 5.14.3
- config: activemq.yml
# activemq latest
- config: activemq.yml
ACTIVEMQ_VERSION: latest
# activemq 5
- config: activemq.yml
ACTIVEMQ_VERSION: 5
# activemq 5.14.3
- config: activemq.yml
# rabbitmq latest
- config: rabbitmq.yml
@ -92,14 +101,14 @@ env:
# redis latest with community edition
- config: redis.yml
# redis 5
- config: redis.yml
REDIS_VERSION: 5
# redis latest with integraion edition
- config: redis.yml
PRODUCT_NAME: documentserver-ie
# redis 5 with community edition
- config: redis.yml
REDIS_VERSION: 5
# graphite
- config: graphite.yml

View file

@ -19,7 +19,7 @@ services:
onlyoffice-postgresql:
container_name: onlyoffice-postgresql
image: postgres:${POSTGRES_VERSION:-9.5}
image: postgres:9.5
environment:
- POSTGRES_DB=${POSTGRES_DB:-onlyoffice}
- POSTGRES_USER=${POSTGRES_USER:-onlyoffice}

View file

@ -17,7 +17,7 @@ services:
onlyoffice-rabbitmq:
container_name: onlyoffice-rabbitmq
image: rabbitmq:${RABBITMQ_VERSION:-latest}
image: rabbitmq
restart: always
networks:
- onlyoffice