mengma.yaml 413 B

1234567891011121314151617181920
  1. version: "3.7"
  2. services:
  3. mysql:
  4. image: mysql:5.7
  5. container_name: mysql
  6. hostname: mysql
  7. restart: always
  8. ports:
  9. - 3306:3306
  10. environment:
  11. - MYSQL_ROOT_PASSWORD=Qx#123456
  12. volumes:
  13. - /opt/etc/mysql:/etc/mysql/conf.d
  14. - /opt/mysql:/var/lib/mysql
  15. redis:
  16. image: rpi.it5000.com:5000/redis
  17. container_name: redis
  18. restart: always
  19. ports:
  20. - 6379:6379