You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
920 B
41 lines
920 B
version: "3"
|
|
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:
|
|
container_name: app-server
|
|
image: nextcloud:fpm
|
|
restart: always
|
|
expose:
|
|
- "80"
|
|
- "9000"
|
|
volumes:
|
|
- ./app_data:/var/www/html
|
|
depends_on:
|
|
- db
|
|
onlyoffice-document-server:
|
|
container_name: onlyoffice-document-server
|
|
image: onlyoffice/documentserver:latest
|
|
restart: always
|
|
expose:
|
|
- "80"
|
|
- "443"
|
|
volumes:
|
|
- ./document_data:/var/www/onlyoffice/Data
|
|
- ./document_log:/var/log/onlyoffice
|
|
nginx:
|
|
container_name: nginx-server
|
|
image: nginx
|
|
restart: always
|
|
ports:
|
|
- 8081:80
|
|
- 4431:443
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
|
- ./app_data:/var/www/html
|
|
|