docker-compose.yml 807 B

123456789101112131415161718192021222324
  1. version: "3.3"
  2. services:
  3. grav:
  4. image: ghcr.io/hughbris/grav-daddy
  5. container_name: grav-caddy
  6. domainname: local
  7. hostname: grav-caddy
  8. restart: unless-stopped
  9. ports:
  10. - 127.0.0.1:2015:2015
  11. volumes:
  12. - ./user:/var/www/grav/user
  13. - /etc/timezone:/etc/timezone:ro
  14. - /etc/localtime:/etc/localtime:ro
  15. - ./php:/usr/local/etc/php
  16. environment:
  17. - PUID=1000
  18. - PGID=1000
  19. - ACME_AGREE=true
  20. # - GRAV_SCHEDULER=true # defaults to false currently
  21. - ROBOTS_DISALLOW=true # defaults to false, set true for staging envornments etc, see extras/robots.disallow.txt for more discussion
  22. # - GRAV_MULTISITE=dir # yet to be implemented