2022-12-24 03:38:43 +02:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
app:
|
|
|
|
data:
|
|
|
|
driver_opts:
|
|
|
|
type: "nfs"
|
|
|
|
o: "addr=192.168.1.245,nolock,soft,rw"
|
|
|
|
device: ":/mnt/data/nextcloud"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app:
|
2023-01-08 15:05:11 +02:00
|
|
|
container_name: nextcloud
|
2022-12-24 03:38:43 +02:00
|
|
|
image: nextcloud
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8080:80
|
|
|
|
volumes:
|
|
|
|
- app:/var/www/html
|
|
|
|
- data:/var/www/html/data
|
|
|
|
environment:
|
|
|
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
|
|
|
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
|
|
|
- MYSQL_USER=${MYSQL_USER}
|
|
|
|
- MYSQL_HOST=${MYSQL_HOST}
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
name: mariadb_default
|
|
|
|
external: true
|