Hi everyone, I have an issue with swag certification and i have an error message and i don’t know what to do. So does anyone can help me ?
code
version: “2”
services:
nextcloud:
image: Package nextcloud · GitHub
container_name: nextcloud
environment:
- PUID=998 #change PUID if needed
- PGID=100 #change PGID if needed
- TZ=Europe/Paris #change Time Zone if needed
volumes:
- /srv/dev-disk-by-uuid-769827fc-087a-4bed-9b1f-86a473b8f90b/appdata/nextcloud/config:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
- /srv/dev-disk-by-uuid-769827fc-087a-4bed-9b1f-86a473b8f90b/appdata/nextcloud/data:/data #/srv/dev-disk-by-label-disk1 needs to be adjusted
depends_on:
- mariadb
ports: # uncomment this and the next line if you want to bypass the proxy
- 450:443
restart: unless-stopped
mariadb:
image: ghcr.io/linuxserver/mariadb
container_name: nextclouddb
environment:
- PUID=998 #change PUID if needed
- PGID=100 #change PGID if needed
- MYSQL_ROOT_PASSWORD=QNQaMAcsSMJyY6Jm #change password
- TZ=Europe/Paris #Change Time Zone if needed
volumes:
- /srv/dev-disk-by-uuid-769827fc-087a-4bed-9b1f-86a473b8f90b/appdata/nextclouddb:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
restart: unless-stopped
swag:
image: linuxserver/swag #swag is the replacement for letsencrypt (see link below)
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=998 #change PUID if needed
- PGID=100 #change PGID if needed
- TZ=Europe/Paris # change Time Zone if needed
- URL=misteratunas.duckdns.org #insert your domain name - yourdomain.url
- SUBDOMAINS=www,
- VALIDATION=http
- EMAIL=misteratu8@gmail.com # define email; required to renew certificate
volumes:
- /srv/dev-disk-by-uuid-769827fc-087a-4bed-9b1f-86a473b8f90b/appdata/swag:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
ports:
- 441:443
- 81:80
restart: unless-stopped