stack.yml 585 B

12345678910111213141516171819202122232425
  1. # ownCloud with MariaDB/MySQL
  2. #
  3. # Access via "http://localhost:8080" (or "http://$(docker-machine ip):8080" if using docker-machine)
  4. #
  5. # During initial ownCloud setup, select "Storage & database" --> "Configure the database" --> "MySQL/MariaDB"
  6. # Database user: root
  7. # Database password: example
  8. # Database name: pick any name
  9. # Database host: replace "localhost" with "mysql"
  10. version: '3.1'
  11. services:
  12. owncloud:
  13. image: owncloud
  14. restart: always
  15. ports:
  16. - 8080:80
  17. mysql:
  18. image: mariadb
  19. restart: always
  20. environment:
  21. MYSQL_ROOT_PASSWORD: example