SHARE
TWEET

Untitled

abunavas Aug 30th, 2019 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: "2"
  2. services:
  3.   nextcloud:
  4.     image: linuxserver/nextcloud
  5.     container_name: nextcloud
  6.     environment:
  7.       - PUID=1001 #change PUID if needed
  8.       - PGID=100  #change PGID if needed
  9.       - TZ=Europe/Berlin #change Time Zone if needed
  10.     volumes:
  11.       - /srv/dev-disk-by-label-omvdisk1/appdata/nextcloud/config:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
  12.       - /srv/dev-disk-by-label-omvdisk1/appdata/nextcloud/data:/data #/srv/dev-disk-by-label-disk1 needs to be adjusted
  13.     depends_on:
  14.       - mariadb
  15.     ports:
  16.       - 445:443
  17.       - 82:80
  18.     restart: unless-stopped
  19.   mariadb:
  20.     image: linuxserver/mariadb
  21.     container_name: nextclouddb
  22.     environment:
  23.       - PUID=1001 #change PUID if needed
  24.       - PGID=100  #change PGID if needed
  25.       - MYSQL_ROOT_PASSWORD=here is my pass  #change password
  26.       - TZ=Europe/Berlin #Change Time Zone if needed
  27.     volumes:
  28.       - /srv/dev-disk-by-label-omvdisk1/appdata/nextclouddb:/config    #/srv/dev-disk-by-label-disk1 needs to be adjusted
  29.     restart: unless-stopped
  30.   letsencrypt:
  31.     image: linuxserver/letsencrypt
  32.     container_name: letsencrypt
  33.     cap_add:
  34.       - NET_ADMIN
  35.     environment:
  36.       - PUID=1001 #change PUID if needed
  37.       - PGID=100  #change PGID if needed
  38.       - TZ=Europe/Berlin # change Time Zone if needed
  39.       - URL=vardar.duckdns.org #insert your domain name - yourdomain.url
  40.       - SUBDOMAINS=www,
  41.       - VALIDATION=http
  42.       - EMAIL=here is my email # define email; required to renew certificate
  43.     volumes:
  44.       - /srv/dev-disk-by-label-omvdisk1/appdata/letsencrypt:/config  #/srv/dev-disk-by-label-disk1 needs to be adjusted
  45.     ports:
  46.       - 444:443
  47.       - 81:80
  48.     restart: unless-stopped
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top