docker-compose.yml 545 B

1234567891011121314151617181920212223242526272829
  1. version: "3"
  2. services:
  3. dada:
  4. image: dadamail
  5. container_name: dada_dada
  6. restart: always
  7. ports:
  8. - "8080:80"
  9. volumes:
  10. - dada-home:/opt/dada
  11. - dada-htdocs:/usr/local/apache2/htdocs
  12. mysql:
  13. image: mariadb
  14. container_name: dada_mysql
  15. restart: always
  16. environment:
  17. MYSQL_ROOT_PASSWORD: s3crets4uc3
  18. MYSQL_DATABASE: dada
  19. MYSQL_USER: dada
  20. MYSQL_PASSWORD: s4uc3s3cret
  21. volumes:
  22. - dada-mysql:/var/lib/mysql
  23. volumes:
  24. dada-home:
  25. dada-htdocs:
  26. dada-mysql: