Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "2"
- services:
- nextcloud:
- image: linuxserver/nextcloud
- container_name: nextcloud
- environment:
- - PUID=1000 #change PUID if needed
- - PGID=100 #change PGID if needed
- - TZ=America/New_York
- volumes:
- - /srv/dev-disk-by-label-Content/AppData/nextcloud/config:/config
- - /srv/dev-disk-by-label-Content/AppData/nextcloud/data:/data
- depends_on:
- - mariadb
- # ports: # uncomment this and the next line if you want to bypass the proxy
- # - 450:443
- restart: unless-stopped
- mariadb:
- image: linuxserver/mariadb
- container_name: nextclouddb
- environment:
- - PUID=1000 #change PUID if needed
- - PGID=100 #change PGID if needed
- - MYSQL_ROOT_PASSWORD=
- - TZ=America/New_York
- volumes:
- - /srv/dev-disk-by-label-Content/AppData/nextcloud/nextclouddb:/config
- 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=1000 #change PUID if needed
- - PGID=100 #change PGID if needed
- - TZ=America/New_York
- - URL=nitro2985.duckdns.org
- - SUBDOMAINS=www,
- - VALIDATION=duckdns
- - DUCKDNSTOKEN=token
- - EMAIL=email
- volumes:
- - /srv/dev-disk-by-label-Content/AppData/swag:/config
- ports:
- - 444:443
- - 81:80
- restart: unless-stopped
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement