Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help in docker compose add backend server HBP #819

Closed
felipesms opened this issue Sep 15, 2024 · 1 comment
Closed

Help in docker compose add backend server HBP #819

felipesms opened this issue Sep 15, 2024 · 1 comment

Comments

@felipesms
Copy link

felipesms commented Sep 15, 2024

My docker compose is ok, in my lan network is ok too,but now i want add backend server - record videos

nextcloud server 192.168.3.100

compose

networks:
nextcloud:

services:
nextcloud_redis:
image: redis:alpine
container_name: nextcloud_redis
restart: always
networks:
- nextcloud
expose:
- 6379

nextcloud_postgresql:
image: postgres:15
container_name: nextcloud_postgresql
restart: always
volumes:
- ./srv/postgresql:/var/lib/postgresql/data
networks:
- nextcloud
environment:
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=lovelove

nextcloud:
image: nextcloud:28.0.4-fpm

container_name: nextcloud

volumes:
  - ./srv/nextcloud/apps:/var/www/html/custom_apps
  - ./config:/var/www/html/config
  - /home/felipe/disco/nextcloud/dados:/var/www/html/data
  - ./srv/nextcloud/html:/var/www/html
  - ./ssl:/etc/nginx/ssl
  - /etc/localtime:/etc/localtime:ro

networks:
  - nextcloud
environment:
  - TZ=America/Sao_Paulo
  - NEXTCLOUD_TRUSTED_DOMAINS=192.168.3.100
  - NEXTCLOUD_ADMIN_USER=admin
  - NEXTCLOUD_ADMIN_PASSWORD=admin
  - REDIS_HOST=nextcloud_redis

  - POSTGRES_HOST=nextcloud_postgresql
  - POSTGRES_DB=nextcloud
  - POSTGRES_USER=nextcloud
  - POSTGRES_PASSWORD=p3r3r3c4

  - PHP_MEMORY_LIMIT=10000M
  - PHP_UPLOAD_LIMIT=10000M

  - SMTP_HOST=smtp.meudominio.com.br
  - SMTP_PORT=587
  - SMTP_AUTHTYPE=LOGIN
  - [email protected]
  - SMTP_PASSWORD=senhacontaemail
  - MAIL_FROM_ADDRESS=cloud
  - MAIL_DOMAIN=meudominio.com.br
command: >
  /bin/sh -c "
    apt-get update && apt-get install -y ffmpeg && php-fpm"

nextcloud_web:
container_name: nextcloud_web
image: nginx:alpine
restart: always
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/http.conf:/etc/nginx/conf.d/http.conf
- ./nginx/nextcloud.conf:/etc/nginx/conf.d/nextcloud.conf
- ./srv/nextcloud/html:/var/www/html:ro
- ./srv/nextcloud/apps:/var/www/html/custom_apps:ro
- ./ssl:/etc/nginx/ssl
networks:
- nextcloud
ports:
- 80:80
- 443:443

@fancycode
Copy link
Member

See https://github.com/nextcloud/nextcloud-talk-recording for the recording server for Nextcloud Talk.

@fancycode fancycode closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants