nextcloud Files.
This commit is contained in:
5
nextcloud/.env
Normal file
5
nextcloud/.env
Normal file
@@ -0,0 +1,5 @@
|
||||
# $HOME/docker/compose-files/grafana/.env
|
||||
MSQL_PASSWORD=<passwort>
|
||||
MYSQL_DATABASE=nextcloud
|
||||
MYSQL_USER=nextcloud
|
||||
MYSQL_HOST=<hostname>
|
38
nextcloud/docker-compose.yml
Normal file
38
nextcloud/docker-compose.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
redis:
|
||||
|
||||
nextcloud:
|
||||
image: nextcloud:latest
|
||||
container_name: nextcloud
|
||||
restart: always
|
||||
ports:
|
||||
- "9000:80" # Nur intern, nginx übernimmt externen Zugang
|
||||
links:
|
||||
- redis
|
||||
environment:
|
||||
- MYSQL_PASSWORD=${MYSQL_PASSWORT}
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||
- MYSQL_USER=${MYSQL_USER}
|
||||
- MYSQL_HOST=${MYSQL_HOST}
|
||||
volumes:
|
||||
- /mnt/nextcloud/nextcloud/html:/var/www/html
|
||||
- /mnt/nextcloud/nextcloud/apps:/var/www/html/custom_apps
|
||||
- /mnt/nextcloud/nextcloud/config:/var/www/html/config
|
||||
- /mnt/nextcloud/nextcloud/data:/var/www/html/data
|
||||
networks:
|
||||
- nextcloudnet
|
||||
clamav:
|
||||
image: clamav/clamav-debian
|
||||
container_name: clamav
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3310:3310" # TCP-Port für clamd
|
||||
volumes:
|
||||
- /opt/clamav:/var/lib/clamav
|
||||
|
||||
networks:
|
||||
nextcloudnet:
|
||||
driver: bridge
|
||||
|
Reference in New Issue
Block a user