Nagios config, nextcloud config
This commit is contained in:
parent
fb3a37bc16
commit
da3c49c045
|
|
@ -56,9 +56,9 @@ AllowedIPs = 10.0.0.8/32
|
||||||
PersistentKeepalive = 25
|
PersistentKeepalive = 25
|
||||||
|
|
||||||
|
|
||||||
# Connection to backend server for icinga2
|
# Connection to backend server for nagios
|
||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = {{ icinga2_backend_pubkey }}
|
PublicKey = {{ nagios_backend_pubkey }}
|
||||||
AllowedIPs = 10.0.0.198/32
|
AllowedIPs = 10.0.0.198/32
|
||||||
PersistentKeepalive = 25
|
PersistentKeepalive = 25
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ nextcloud_service_privkey: temp
|
||||||
chat_service_privkey: temp
|
chat_service_privkey: temp
|
||||||
minecraft_service_privkey: temp
|
minecraft_service_privkey: temp
|
||||||
kimai_service_privkey: temp
|
kimai_service_privkey: temp
|
||||||
icinga2_backend_privkey: temp
|
nagios_backend_privkey: temp
|
||||||
cockpit_backend_privkey: temp
|
cockpit_backend_privkey: temp
|
||||||
user_privkey: temp
|
user_privkey: temp
|
||||||
|
|
||||||
|
|
@ -45,7 +45,7 @@ nextcloud_service_pubkey: temp
|
||||||
chat_service_pubkey: temp
|
chat_service_pubkey: temp
|
||||||
minecraft_service_pubkey: temp
|
minecraft_service_pubkey: temp
|
||||||
kimai_service_pubkey: temp
|
kimai_service_pubkey: temp
|
||||||
icinga2_backend_pubkey: temp
|
nagios_backend_pubkey: temp
|
||||||
cockpit_backend_pubkey: temp
|
cockpit_backend_pubkey: temp
|
||||||
user_pubkey: temp
|
user_pubkey: temp
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,10 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
# Custom IPTables forwarding rules to forward TCP(web) traffic from port 11000 to port 80
|
# Custom IPTables forwarding rules to forward TCP(web) traffic from port 11000 to port 80
|
||||||
- ./post-rules.txt:/iptables/post-rules.txt
|
- ./post-rules.txt:/iptables/post-rules.txt
|
||||||
ports:
|
#ports:
|
||||||
- "11000:11000"
|
# - "80:11000"
|
||||||
deploy:
|
deploy:
|
||||||
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '0.10'
|
cpus: '0.10'
|
||||||
memory: 512M
|
memory: 512M
|
||||||
|
|
@ -37,6 +38,7 @@ services:
|
||||||
mem_reservation: 512m
|
mem_reservation: 512m
|
||||||
command: redis-server --requirepass {{ service_nextcloud_postgres_pass }}
|
command: redis-server --requirepass {{ service_nextcloud_postgres_pass }}
|
||||||
deploy:
|
deploy:
|
||||||
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '0.10'
|
cpus: '0.10'
|
||||||
memory: 2048M
|
memory: 2048M
|
||||||
|
|
@ -53,6 +55,7 @@ services:
|
||||||
- POSTGRES_DB=nextcloud
|
- POSTGRES_DB=nextcloud
|
||||||
- POSTGRES_USER=nextcloud
|
- POSTGRES_USER=nextcloud
|
||||||
deploy:
|
deploy:
|
||||||
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '0.10'
|
cpus: '0.10'
|
||||||
memory: 128M
|
memory: 128M
|
||||||
|
|
@ -64,7 +67,7 @@ services:
|
||||||
# links:
|
# links:
|
||||||
# - nextcloud-db
|
# - nextcloud-db
|
||||||
volumes:
|
volumes:
|
||||||
- ./nextcloud:/var/www/html
|
- /nextcloud-data:/var/www/html
|
||||||
environment:
|
environment:
|
||||||
- REDIS_HOST=127.0.0.1
|
- REDIS_HOST=127.0.0.1
|
||||||
- REDIS_HOST_PASSWORD={{ service_nextcloud_postgres_pass }}
|
- REDIS_HOST_PASSWORD={{ service_nextcloud_postgres_pass }}
|
||||||
|
|
@ -78,6 +81,7 @@ services:
|
||||||
- OVERWRITEPROTOCOL=https
|
- OVERWRITEPROTOCOL=https
|
||||||
- OVERWRITECLIURL=https://nextcloud.{{ domain_name }}
|
- OVERWRITECLIURL=https://nextcloud.{{ domain_name }}
|
||||||
deploy:
|
deploy:
|
||||||
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '0.25'
|
cpus: '0.25'
|
||||||
memory: 512M
|
memory: 512M
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,18 @@ server {
|
||||||
return 301 $scheme://$host/remote.php/dav;
|
return 301 $scheme://$host/remote.php/dav;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /.well-known/webfinger {
|
||||||
|
return 301 $scheme://$host/index.php/.well-known/webfinger;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /.well-known/nodeinfo {
|
||||||
|
return 301 $scheme://$host/index.php/.well-known/nodeinfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /ocm-provider {
|
||||||
|
return 301 $scheme://$host/index.php/ocm-provider;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue