docker-compose.yml 486 B

1234567891011121314151617181920212223242526272829303132
  1. version: '3'
  2. services:
  3. app:
  4. image: nextcloud:12
  5. restart: unless-stopped
  6. volumes:
  7. - nextcloud:/var/www/html
  8. web:
  9. image: abiosoft/caddy
  10. restart: unless-stopped
  11. privileged: true
  12. volumes:
  13. - ./Caddyfile:/etc/Caddyfile
  14. - caddy:/root/.caddy
  15. environment:
  16. - VIRTUAL_HOST=193.112.96.151
  17. links:
  18. - app
  19. ports:
  20. - 80:80
  21. - 443:443
  22. networks:
  23. - default
  24. volumes:
  25. nextcloud:
  26. caddy:
  27. networks:
  28. default: