update source to show differences

master
Peter Babič 3 years ago
parent dc77b684ae
commit 86a49348e4
Signed by: peter.babic
GPG Key ID: 4BB075BC1884BA40
  1. 27
      install-nextcloud-onlyoffice-postgres/docker-compose.yml

@ -1,5 +1,13 @@
version: "3" version: "3"
services: services:
db:
restart: always
image: postgres:12.5-alpine
shm_size: 256mb
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
volumes:
- ./postgres:/var/lib/postgresql/data
app: app:
container_name: app-server container_name: app-server
image: nextcloud:fpm image: nextcloud:fpm
@ -8,7 +16,9 @@ services:
- "80" - "80"
- "9000" - "9000"
volumes: volumes:
- app_data:/var/www/html - ./app_data:/var/www/html
depends_on:
- db
onlyoffice-document-server: onlyoffice-document-server:
container_name: onlyoffice-document-server container_name: onlyoffice-document-server
image: onlyoffice/documentserver:latest image: onlyoffice/documentserver:latest
@ -17,20 +27,15 @@ services:
- "80" - "80"
- "443" - "443"
volumes: volumes:
- document_data:/var/www/onlyoffice/Data - ./document_data:/var/www/onlyoffice/Data
- document_log:/var/log/onlyoffice - ./document_log:/var/log/onlyoffice
nginx: nginx:
container_name: nginx-server container_name: nginx-server
image: nginx image: nginx
restart: always restart: always
ports: ports:
- 80:80 - 8081:80
- 443:443 - 4431:443
volumes: volumes:
- ./nginx.conf:/etc/nginx/nginx.conf - ./nginx.conf:/etc/nginx/nginx.conf
- app_data:/var/www/html - ./app_data:/var/www/html
volumes:
document_data:
document_log:
app_data:
mysql_data:

Loading…
Cancel
Save