Erster Commit

This commit is contained in:
2021-09-16 13:23:36 +02:00
commit d49ffe0243
9 changed files with 651 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
version: "3"
services:
nextcloud_db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed
container_name: nextcloud_db
volumes:
- ~/Container/nextcloud/files/db:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
environment:
- MYSQL_ROOT_PASSWORD=Gsw09Vw
- MYSQL_PASSWORD=Gsw09Vw
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
restart: unless-stopped
nextcloud:
image: nextcloud
container_name: nextcloud
restart: unless-stopped
depends_on:
- nextcloud_db
expose:
- "80"
- "443"
volumes:
- ~/Container/nextcloud/files/html:/var/www/html
environment:
VIRTUAL_HOST: cloud.troche.koeln
LETSENCRYPT_HOST: cloud.troche.koeln
LETSENCRYPT_EMAIL: ariane@familie-troche.de
MYSQL_HOST: nextcloud_db
MYSQL_PASSWORD: Gsw09Vw
MYSQL_DATABASE: nextcloud
MYSQL_USER: nextcloud
networks:
default:
external:
name: nginx-proxy