Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. nextcloud:
  2. image:nextcloud
  3. image:mariadb
  4. command: -transaction-isolation=READ-COMMITTED --binlog-format=ROW
  5. restart: unless-stopped
  6. ports:
  7. - 8084:80
  8. environment:
  9. - PUID=${PUID} # default user id, defined in .env
  10. - PGID=${PGID} # default group id, defined in .env
  11. - TZ=${TZ} # timezone, defined in .env
  12. - MYSQL_ROOT_PASSWORD=Gabinator9
  13. - MYSQL_PASSWORD=Gabinator9
  14. - MYSQL_DATABASE=nextcloud
  15. - MYSQL_USER=nextcloud
  16. volumes:
  17. - /etc/localtime:/etc/localtime:ro
  18. - ${ROOT}:/data
  19. - ${ROOT}/config/nextcloud:/config # config files
  20. - db:/var/lib/mysql
  21. - nextcloud:/var/www/html
  22. labels:
  23. <<: *default_traefik_opts
  24. traefik.backend: 'nextcloud'
  25. traefik.port: '8084'
  26. traefik.local.frontend.rule: 'Host:nextcloud.${LOCAL_DOMAIN:-localhost}'
  27. traefik.https.frontend.rule: 'Host:nextcloud.${DOMAIN:-default}'
  28. links:
  29. - db
  30. services:
  31. db:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement