sunetdrive/templates/multinode/docker-compose_nextcloud.yml.erb

35 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-02-13 09:44:56 +00:00
version: '3.2'
services:
app:
image: docker.sunet.se/drive/nextcloud-custom:<%= @nextcloud_version %>
restart: always
volumes:
- /opt/multinode/<%= @customer %>/complete_reinstall.sh:/complete_reinstall.sh
- /opt/nextcloud/000-default.conf:/etc/apache2/sites-enabled/000-default.conf
- /opt/nextcloud/404.html:/var/www/html/404.html
- /opt/nextcloud/apache.php.ini:/etc/php/8.0/apache2/php.ini
- /opt/nextcloud/cli.php.ini:/etc/php/8.0/cli/php.ini
- <%= @config_php_path %>:/var/www/html/config/config.php
- <%= @nextcloud_log_path %>:/var/www/html/data/nextcloud.log
2024-09-24 13:36:06 +00:00
- <%= @audit_log_path %>:/var/www/html/data/audit.log
2023-02-13 09:44:56 +00:00
- <%= @rclone_conf_path %>:/rclone.conf
environment:
- NC_PASS=<%= @admin_password%>
2023-02-13 09:44:56 +00:00
networks:
- default
2023-02-28 13:06:17 +00:00
- proxysql_proxysql
2023-02-13 09:44:56 +00:00
dns:
- 89.46.20.75
- 89.46.21.29
- 89.32.32.32
ports:
- <%= @https_port %>:443
2024-09-24 13:36:06 +00:00
command: sh -c 'tail -F /var/www/html/data/nextcloud.log /var/www/html/data/audit.log| tee -a /proc/1/fd/2 & apachectl -D FOREGROUND'
2023-02-13 09:44:56 +00:00
tty: true
networks:
2023-02-28 13:06:17 +00:00
proxysql_proxysql:
external: true