Hello to all.
Sorry for my English, I use deepl to translate from French.
I'm asking for your help because I'm having trouble installing Nextcloud correctly on my OpenMediaVault 5 installation.
I'm a big beginner in linux, docker and nextcloud.
However, with a lot of perseverance, I managed to install my plex server as a docker on this same omv5, which works perfectly with remote access and plexpass, so I have some basics.
Can you help me to configure my STACK file correctly?
I wish to access my Nexcloud directly by
http://my-ip-local OR http://my-ip-wan
I don't need to attach a domain name to it, I don't use a personal dns server like nginx.
I put in red the fields I can't fill in correctly, thank you.
---
version: "2"
services:
nextcloud:
image: linuxserver/nextcloud
container_name: nextcloud
environment:
- PUID=1002
- PGID=100
- TZ=Europe/Paris
volumes:
- /srv/dev-disk-by-uuuid-2d85bf44-b02a-444f-93af-18dd6bcf0ebe/AppData/Nextcloud/config:/config
- /srv/dev-disk-by-uuid-2d85bf44-b02a-444f-93af-18dd6bcf0ebe/nextcloud/data:/data
ports:
443:443
depends_on:
- mariadb
restart: unless-stopped
mariadb:
image: linuxserver/mariadb
container_name: nextclouddb
environment:
- PUID=1002
- PGID=100
- MYSQL_ROOT_PASSWORD= any password?
- TZ=Europe/Paris
volumes:
- /srv/dev-disk-by-uuid-2d85bf44-b02a-444f-93af-18dd6bcf0ebe/AppData/Nextclouddb:/config
restart: unless-stopped
swag:
image: linuxserver/swag
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1002
- PGID=100
- TZ=Europe/Paris
- URL= ?????
- SUBDOMAINS= ??????
- VALIDATION=http
- EMAIL= ??????
volumes:
- /srv/dev-disk-by-uuid-2d85bf44-b02a-444f-93af-18dd6bcf0ebe/AppData/swag:/config
b] ports:
- 444:443
- 81:80
restart: unless-stopped
_-_-_-__-_-_-_-_-_-_-_-_-__-_-_-_-__-_-_-__-_-_-_-_-_-_-_-_-__-_-_-_-_
Pour Info
- The hardware:
Beelink GK55 + SSD 2TO crucial MX500
http://www.bee-link.com/portal.php?mod=view&aid=144
- OS:
OpenMediaVault 5.5.23-1 (usul)
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
My network setting:
1. SFR box nb6 (fai red by sfr / 192.168.1.1) >
.port forwarding to my "archer c-7 tp-link" router (192.168.1.2/192.168.0.1)
https://zupimages.net/up/21/03/w69k.png
2. redirection to my Beelink NAS (192.168.0.42)
https://zupimages.net/up/21/03/zw0b.jpg
https://zupimages.net/up/21/03/8e35.jpg
I use these settings to display on ports 80 and 443 my Jeedom on my raspberryPi3 (192.168.0.3) without problems, the same for other services on my synology, and for port 32400 of Plex on the same OMV5 server, without problems.
For now, instead of displaying my jeedom on my rpi3 on ports 80 and 443, I would display nextcloud.
_-_-_-__-_-_-_-_-_-_-_-_-__-_-_-_-__-_-_-__-_-_-_-_-_-_-_-_-__-_-_-_
I followed this tutorial:
After a first try, I ended up having NextCloud running locally, but I had to manually write the https in the address, and the browser informed me that the server was not secure, and impossible to have access from outside...
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
THANK YOU VERY MUCH FOR YOUR HELP !!!!!!!!!!!!!!!!!!!!
Translated with http://www.DeepL.com/Translator (free version)