updated some config details
This commit is contained in:
@@ -1,46 +1,37 @@
|
|||||||
version: '3'
|
version: '3.8'
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
alertmanager_config:
|
|
||||||
driver: local
|
|
||||||
driver_opts:
|
|
||||||
type: nfs
|
|
||||||
o: addr=dockerstorage,rw,nfsvers=4
|
|
||||||
device: :/swarm/stacks/grafana/alertmanager_config
|
|
||||||
prometheus_config:
|
|
||||||
driver_opts:
|
|
||||||
type: nfs
|
|
||||||
o: addr=dockerstorage,nfsvers=4
|
|
||||||
device: :/swarm/stacks/grafana/prometheus_config
|
|
||||||
grafana_config:
|
|
||||||
driver_opts:
|
|
||||||
type: nfs
|
|
||||||
o: addr=dockerstorage,nfsvers=4
|
|
||||||
device: :/swarm/stacks/grafana/grafana_config
|
|
||||||
|
|
||||||
prometheus_data:
|
prometheus_data:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: addr=dockerstorage,nfsvers=4
|
o: addr=dockerstorage,nfsvers=4
|
||||||
device: :/swarm/stacks/grafana/prometheus_data
|
device: :/dockerstorage/grafana/prometheus
|
||||||
|
|
||||||
grafana_data:
|
grafana_data:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: addr=dockerstorage,nfsvers=4
|
o: addr=dockerstorage,nfsvers=4
|
||||||
device: :/swarm/stacks/grafana/grafana_data
|
device: :/dockerstorage/grafana/grafana
|
||||||
|
|
||||||
loki_data:
|
loki_data:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: addr=dockerstorage,nfsvers=4
|
o: addr=dockerstorage,nfsvers=4
|
||||||
device: :/swarm/stacks/grafana/loki_data
|
device: :/dockerstorage/grafana/loki
|
||||||
|
|
||||||
influxdb_data:
|
influxdb_data:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: addr=dockerstorage,nfsvers=4
|
o: addr=dockerstorage,nfsvers=4
|
||||||
device: :/swarm/stacks/grafana/influxdb_data
|
device: :/dockerstorage/grafana/influxdb
|
||||||
|
|
||||||
|
configs:
|
||||||
|
prometheus_config:
|
||||||
|
external: true
|
||||||
|
grafana_config:
|
||||||
|
external: true
|
||||||
|
alertmanager_config:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
@@ -75,9 +66,9 @@ services:
|
|||||||
image: prom/alertmanager
|
image: prom/alertmanager
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin #change Time Zone if needed
|
- TZ=Europe/Berlin #change Time Zone if needed
|
||||||
|
configs:
|
||||||
volumes:
|
- source: alertmanager_config
|
||||||
- alertmanager_config:/etc/alertmanager
|
target: /etc/alertmanager/alertmanager.conf
|
||||||
command:
|
command:
|
||||||
- '--config.file=/etc/alertmanager/alertmanager.conf'
|
- '--config.file=/etc/alertmanager/alertmanager.conf'
|
||||||
ports:
|
ports:
|
||||||
@@ -89,8 +80,10 @@ services:
|
|||||||
image: prom/prometheus
|
image: prom/prometheus
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin #change Time Zone if needed
|
- TZ=Europe/Berlin #change Time Zone if needed
|
||||||
|
configs:
|
||||||
|
- source: prometheus_config
|
||||||
|
target: /etc/prometheus/prometheus.yml
|
||||||
volumes:
|
volumes:
|
||||||
- prometheus_config:/etc/prometheus
|
|
||||||
- prometheus_data:/prometheus
|
- prometheus_data:/prometheus
|
||||||
command:
|
command:
|
||||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||||
@@ -107,8 +100,10 @@ services:
|
|||||||
- influx
|
- influx
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Amsterdam
|
- TZ=Europe/Amsterdam
|
||||||
|
configs:
|
||||||
|
- source: grafana_config
|
||||||
|
target: /etc/grafana/grafana.ini
|
||||||
volumes:
|
volumes:
|
||||||
- grafana_config:/etc/grafana
|
|
||||||
- grafana_data:/var/lib/grafana
|
- grafana_data:/var/lib/grafana
|
||||||
ports:
|
ports:
|
||||||
- 3300:3000
|
- 3300:3000
|
||||||
|
|||||||
@@ -5,29 +5,24 @@ volumes:
|
|||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: addr=dockerstorage,nfsvers=4
|
o: addr=dockerstorage,nfsvers=4
|
||||||
device: :/swarm/stacks/nextcloud/nchome
|
device: :/dockerstorage/nextcloud/nchome
|
||||||
ncconfig:
|
|
||||||
driver_opts:
|
|
||||||
type: nfs
|
|
||||||
o: addr=dockerstorage,nfsvers=4
|
|
||||||
device: :/swarm/stacks/nextcloud/ncconfig
|
|
||||||
ncdata:
|
ncdata:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: addr=dockerstorage,nfsvers=4
|
o: addr=maurice,nfsvers=4
|
||||||
device: :/nextcloud_data
|
device: :/nextcloud_data
|
||||||
|
|
||||||
ncredis:
|
ncredis:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: addr=dockerstorage,nfsvers=4
|
o: addr=dockerstorage,nfsvers=4
|
||||||
device: :/swarm/stacks/nextcloud/redis
|
device: :/dockerstorage/nextcloud/redis
|
||||||
|
|
||||||
ncdatabase:
|
ncdatabase:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: addr=dockerstorage,nfsvers=4
|
o: addr=dockerstorage,nfsvers=4
|
||||||
device: :/swarm/stacks/nextcloud/ncdatabase
|
device: :/dockerstorage/nextcloud/ncdatabase
|
||||||
|
|
||||||
pictures:
|
pictures:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
@@ -46,7 +41,6 @@ services:
|
|||||||
- TZ=Europe/Berlin #change Time Zone if needed
|
- TZ=Europe/Berlin #change Time Zone if needed
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
volumes:
|
volumes:
|
||||||
# - ncconfig:/var/www/html/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
|
|
||||||
- ncdata:/var/www/html/data #/srv/dev-disk-by-label-disk1 needs to be adjusted
|
- ncdata:/var/www/html/data #/srv/dev-disk-by-label-disk1 needs to be adjusted
|
||||||
- nchome:/var/www/html #/srv/dev-disk-by-label-disk1 needs to be adjusted
|
- nchome:/var/www/html #/srv/dev-disk-by-label-disk1 needs to be adjusted
|
||||||
# NAS shares
|
# NAS shares
|
||||||
@@ -66,11 +60,12 @@ services:
|
|||||||
- ncredis:/var/lib/redis
|
- ncredis:/var/lib/redis
|
||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
|
user: "1000:100"
|
||||||
image: ghcr.io/linuxserver/mariadb
|
image: ghcr.io/linuxserver/mariadb
|
||||||
container_name: nextclouddb
|
container_name: nextclouddb
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000 #change PUID if needed
|
# - PUID=1000 #change PUID if needed
|
||||||
- PGID=1000 #change PGID if needed
|
# - PGID=100 #change PGID if needed
|
||||||
- MARIADB_ROOT_PASSWORD="dbpassword"
|
- MARIADB_ROOT_PASSWORD="dbpassword"
|
||||||
- MYSQL_ROOT_PASSWORD=mariadbpassword #change password
|
- MYSQL_ROOT_PASSWORD=mariadbpassword #change password
|
||||||
- TZ=Europe/Berlin #Change Time Zone if needed
|
- TZ=Europe/Berlin #Change Time Zone if needed
|
||||||
|
|||||||
Reference in New Issue
Block a user