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.
 
 

44 lines
1006 B

version: '3'
services:
nc_db:
image: mariadb
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
environment:
- MYSQL_ROOT_PASSWORD=nextcloud
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
volumes:
- ./database:/var/lib/mysql
networks:
backend:
app:
image: nextcloud
restart: always
environment:
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=nc_db
- OVERWRITEPROTOCOL=https
- OVERWRITEHOST=cloud.cttue.de
- PHP_UPLOAD_LIMIT=50M
- VIRTUAL_HOST=cloud.cttue.de
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=cloud.cttue.de
volumes:
- ./nextcloud-data:/var/www/html:z
networks:
cttue_web_services:
backend:
depends_on:
- nc_db
networks:
cttue_web_services:
external: true
# Internal network for communication with MySQL
backend: