docker-compose.yml 306 B

123456789101112131415
  1. services:
  2. db:
  3. image: mariadb:11.5
  4. ports:
  5. - ${DB_PORT}:3306
  6. volumes:
  7. - mariadb:/var/lib/mysql
  8. environment:
  9. MARIADB_DATABASE: ${DB_NAME}
  10. MARIADB_USER: ${DB_USER}
  11. MARIADB_PASSWORD: ${DB_PASSWORD}
  12. MARIADB_ROOT_PASSWORD: ${DB_PASSWORD}
  13. volumes:
  14. mariadb: