Advertisement
Guest User

macom-docker-compose.yml

a guest
Feb 24th, 2022
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. version: "2"
  2. services:
  3. nextcloud:
  4. image: ghcr.io/linuxserver/nextcloud
  5. container_name: nextcloud
  6. environment:
  7. - PUID=1000 #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-disk1/appdata/nextcloud/config:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
  12. - /srv/dev-disk-by-label-disk1/appdata/nextcloud/data:/data #/srv/dev-disk-by-label-disk1 needs to be adjusted
  13. depends_on:
  14. - mariadb
  15. # ports: # uncomment this and the next line if you want to bypass the proxy
  16. # - 450:443
  17. restart: unless-stopped
  18. mariadb:
  19. image: ghcr.io/linuxserver/mariadb
  20. container_name: nextclouddb
  21. environment:
  22. - PUID=1000 #change PUID if needed
  23. - PGID=100 #change PGID if needed
  24. - MYSQL_ROOT_PASSWORD=mariadbpassword #change password
  25. - TZ=Europe/Berlin #Change Time Zone if needed
  26. volumes:
  27. - /srv/dev-disk-by-label-disk1/appdata/nextclouddb:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
  28. restart: unless-stopped
  29. swag:
  30. image: linuxserver/swag #swag is the replacement for letsencrypt (see link below)
  31. container_name: swag
  32. cap_add:
  33. - NET_ADMIN
  34. environment:
  35. - PUID=1000 #change PUID if needed
  36. - PGID=100 #change PGID if needed
  37. - TZ=Europe/Berlin # change Time Zone if needed
  38. - URL=xxxx.de #insert your domain name - yourdomain.url
  39. - SUBDOMAINS=www,
  40. - VALIDATION=http
  41. - EMAIL=xxx.yyy@provider.com # define email; required to renew certificate
  42. volumes:
  43. - /srv/dev-disk-by-label-disk1/appdata/swag:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
  44. ports:
  45. - 444:443
  46. - 81:80
  47. restart: unless-stopped
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement